View source: R/get_random_CRD.R
get_random_CRD | R Documentation |
Get random values from permutation test, the mean of which as baseline to calculate CRD score.
get_random_CRD(input.list, genes.dist.bins, b.sign, num.rounds = 1000)
input.list |
A list of variables containing scaled gene expression matrix, giving number of bins. |
genes.dist.bins |
A matrix of giving expression bins within genes, which were binned according to their average expression across cells or samples. |
b.sign |
A logical value to indicate the overlapped features between target features and the features derived from gene expressio matrix. |
num.rounds |
A integer value to indicate the permutation times of iteration; 1000 by default and 10000 will be better for reproducibility. |
Continuous numerical variables with values, named by cells or samples.
## Not run: r.scores <- get_random_CRD(input.list, input.list$genes.dist.bins, b.sign, num.rounds = num.rounds) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.