Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seurat v3.1.3 #2605

Merged
merged 86 commits into from
Feb 11, 2020
Merged

Seurat v3.1.3 #2605

merged 86 commits into from
Feb 11, 2020

Conversation

mojaveazure
Copy link
Member

@mojaveazure mojaveazure commented Feb 11, 2020

Patch to get Seurat back on CRAN, see our NEWS file for more details.

Addresses #2589

yuhanH and others added 30 commits September 27, 2019 16:04
Make AverageExpression faster by using the rowMeans functions, instead
of apply. In addition it will now avoid making sparse matrices dense.
Additionally add a test for AverageExpression.
Use rowMeans instead of apply in FindMarkers. This avoids making dense
matrices of sparse matrices and is also faster.
Export DiscretePalette
Minor style fixes
Don't materialize dense matrix in AverageExpression and FindMarkers
* preprocessing code to leiden algorithm input was changed between
  v3.1.1 and v3.1.2 producing different default behavior of
  FindCluster
* this is to make it consistent to the previous version.
Switch back to previous default color scheme
Addresses satijala/seurat#2464
The `getEdges` method was a public method of the `Network` class that allows users to obtain a copy of the Edges of a Network object.  This method/interface was ported over from Java to C++ with a bug in it, though because the `getEdges` method is never called by either the Java or C++ version of the code, this bug had no effect on the current code.  However, to improve the code and maintain it's similarity with the original Java version, it's probably worth fixing this unused method.

The specific bug was that instead of filling an array from `start + value_1` to `start + value_2` with a constant value, it was filled from `start + value_1` to `end + value_2` with a constant value, which leads to unexpected behavior due to an array overflow.
Fix getEdges() Method of the Network Class
Addresses #2466. uwot throws the error: "Sparse
matrices are only supported as distance matrices" when given a
feature matrix. This coerces to a dense matrix to handle that case.
andrewwbutler and others added 28 commits January 30, 2020 16:29
When a key name with an underscore in the middle is passed to
functions that generate DimReducs (e.g RunUMAP), the key gets
truncated at the first underscore. Additionally, if it ends with
a number (e.g. key.name = "umap_test2"), this causes bugs as the
number at the end can get appended to the dimension number (e.g.
dimension 1 becomes dimension 21).
If fewer features (or reduced dimensions) than the number of UMAP
components to compute are passed, stop and display more informative
error message. For example, hopefully prevents confusion in cases like
RunUMAP(object, dims = 10)
bug fixes for keys with underscores
Link to sctransform methods that populate slots of SCTransform output
Prep for CRAN release of 3.1.3
@mojaveazure mojaveazure merged commit 87e2454 into master Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants