-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to the latest version of the singlepp library in assorthead. (#…
…274) This allows us to get rid of our internally vendored copy of the library. The latest version of singlepp greatly simplifies management of gene IDs, forcing us to perform intersections if we are not completely sure that the test and reference row identities are the same. This is much easier to reason about than the previous logic; now, our test and reference features are essentially fixed, and the C++ code handles all of the intersections. A consequence of this change is that we need to know the test features during training (or we assume that they're the same as the reference). This involves some minor changes to the trained output to record the test features, so that we can check that they're the same as 'rownames(test)' during classification. If they're not, we throw an error, which is more stringent than the previous behavior where we would only throw if the subset of markers could not be found; but in practice, the two are probably the same anyway. Another consequence is that we can't do any filtering of the test matrix after training, as that would cause mismatches between the trained output's record of the test features and the test features used during classificaiton. This is probably fine as most people shouldn't have NAs in the test matrix, and even then, most people are using SingleR() and the filtering + intersections are handled automatically before training anyway. We also return to using BiocNeighbors. In this case, it provides C++-level builder objects for the neighbor index construction, allowing us to avoid having to compile for all of the different NN search algorithms.
- Loading branch information
Showing
48 changed files
with
524 additions
and
4,122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: SingleR | ||
Title: Reference-Based Single-Cell RNA-Seq Annotation | ||
Version: 2.7.1 | ||
Date: 2024-05-22 | ||
Version: 2.7.2 | ||
Date: 2024-09-06 | ||
Authors@R: c(person("Dvir", "Aran", email="[email protected]", role=c("aut", "cph")), | ||
person("Aaron", "Lun", email="[email protected]", role=c("ctb", "cre")), | ||
person("Daniel", "Bunis", role="ctb"), | ||
|
@@ -20,6 +20,7 @@ Imports: | |
DelayedMatrixStats, | ||
BiocParallel, | ||
BiocSingular, | ||
BiocNeighbors, | ||
stats, | ||
utils, | ||
Rcpp, | ||
|
@@ -28,6 +29,7 @@ Imports: | |
LinkingTo: | ||
Rcpp, | ||
beachmat, | ||
assorthead, | ||
BiocNeighbors | ||
Suggests: | ||
testthat, | ||
|
@@ -57,6 +59,6 @@ biocViews: | |
SystemRequirements: C++17 | ||
VignetteBuilder: knitr | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.3.1 | ||
RoxygenNote: 7.3.2 | ||
URL: https://github.com/LTLA/SingleR | ||
BugReports: https://support.bioconductor.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.