permZero | R Documentation |
Function to generate random permutations of nonzero values.
permZero(m, size, zmat)
m |
Number of permuted sets to generate. |
size |
Number of samples present in the dataset |
zmat |
Matrix of indicators of whether the original data value is zero or not. Should contain the same number of rows and columns as original data matrix. |
Generates random permutations for all genes, where the zeroes are kept fixed (i.e. only permute the nonzero condition labels).
a list of length 'm' (nperms) where each item is a 'ngenes' by 'size' matrix
Korthauer KD, Chu LF, Newton MA, Li Y, Thomson J, Stewart R, Kendziorski C. A statistical approach for identifying differential distributions in single-cell RNA-seq experiments. Genome Biology. 2016 Oct 25;17(1):222. https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-1077-y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.