Comments (3)
Do you want me to do it or you do?
This makes me think that I still have to make the scDblFinder method compatible with DelayedArray (i.e. without conversion to a sparseMatrix)...
from scdblfinder.
Do you want me to do it or you do?
Could you do it? Would save me having to create a PR. I always forget whether I have write access to this repo.
This makes me think that I still have to make the scDblFinder method compatible with DelayedArray (i.e. without conversion to a sparseMatrix)...
There's a couple of lessons learnt from scran and DropletUtils and friends:
- If you're doing multiple passes over the input matrix, it's better to (by default) convert any input delayed array into a more convenient format (e.g.,
dgCMatrix
) up front, otherwise you'll be wasting a lot of time in block processing. - However, this also comes at the obvious cost of increasing memory usage. So the ideal situation is when you only need a subset of features (e.g., HVGs) or cells, in which case you can subset and convert without blowing up your RAM.
- Of course, if you're just doing one pass over the matrix, the cost of block processing is about equal to the cost of the conversion anyway, so you might as well just keep it in the delayed array format.
There are exceptions to this rule for the fancier DelayedMatrices that have specialized operators (e.g., ResidualMatrix
and ScaledMatrix
for efficient matrix multiplication) that are more efficient than what you could get from a converted matrix.
from scdblfinder.
done for sweep... will push to bioc after the auto check.
Thanks for the tips. I think I'll do it right after the subsetting then.
from scdblfinder.
Related Issues (20)
- Filter ATAC before running scDblFinder HOT 2
- Error when running library(scDblFinder) on jupyter through %%R HOT 2
- Error in if (length(expected) > 1 && x > min(expected) && x < max(expected)) return(0): missing value where TRUE/FALSE needed HOT 9
- Runing scDblFinder before and after removing low QC cells gives different results HOT 1
- Request for clarification of dbr and dbr.sd in scDblFinder 1.15.1 HOT 4
- Running into Grid Error when Running scDblFinder HOT 2
- scDblFinder error when using aggregateFeatures and knownDoublets HOT 2
- Error in as(counts(sce), "CsparseMatrix") HOT 1
- Unreasonably high doublets rate HOT 4
- Running scDblFinder before or after normalization? HOT 2
- Error running scDblFinder HOT 3
- non-interpretable error message when providing non-integer as nfeatures argument HOT 1
- Clarify recommended nFeatures/artificialDoublets for scATACseq doublet removal in vignette HOT 2
- Doublet filtering in Parse Biosciences data HOT 6
- Unable to run scDblFinder - "as_cholmod_sparse" does not exist HOT 5
- Unable to install scDblFinder HOT 2
- Ambient RNA Removal HOT 4
- Compatibility between Seurat, matrix and scDblFinder versions HOT 4
- error in scATAC HOT 1
- Does ‘Size factors should be positive’ error matter? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scdblfinder.