Description Usage Arguments Value
Subsample a count matrix to a specific number of reads, improved version ensures that every read has the same probability of being dropped
1 | subSampleCountMatrix2(mat, final.count = 1e+06, seed = NULL)
|
mat |
sparse matrix of class dgCMatrix |
final.count |
final number of reads the matrix should have |
seed |
seed for random number generator |
a new dgCMatrix subsample to the requested number of reads
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.