Description Usage Arguments Details Value Examples
Ranks genes by residual dispersion from mean-dispersion power-law relationship.
1 | NBumiCoexpression(counts, fit, gene_list=NULL, method=c("both", "on", "off"))
|
counts |
raw count matrix (e.g. from NBumiConvertData). |
fit |
output from NBumiFitModel or NBumiFitBasicModel. |
gene_list |
set of gene names to test coexpression of. |
method |
type of coexpression to test (see: Details). |
Tests for co-expression using the normal approximation of a binomial test. Co-expression is defined according to the method argument as follows:
two genes are both >0 in more cells than expected.
two genes are both 0 in more cells than expected.
two genes are either both >0 or both 0 in more cells than expected.
In all cases the null expectation is calculated using the fit library-size adjusted negative binomial model. This remove spurious co-expression due to cells with differing numbers of detected genes.
a matrix of Z-scores for each pair of genes in the provided gene list.
1 2 3 4 5 6 7 | library(M3DExampleData)
counts <- NBumiConvertData(Mmus_example_list$data)
fit <- NBumiFitModel(counts);
genes <- c("Sox2", "Eomes", "Zscan4d", "Obox1", "Obox3")
co <- NBumiCoexpression(counts, fit, genes, method="both");
on <- NBumiCoexpression(counts, fit, genes, method="on");
off <- NBumiCoexpression(counts, fit, genes, method="off");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.