NBumi_FitDispVsMean: Fit function between mean and dispersion

Description Usage Arguments Details Value Examples

Description

Fits a power-law relationship between mean expression and dispersion.

Usage

1
	NBumiFitDispVsMean(fit, suppress.plot=TRUE)

Arguments

fit

output from NBumiFitModel or NBumiFitBasicModel.

suppress.plot

Whether to plot the calculated fit.

Details

Fits a power-law relationship between mean expression and fitted gene-specific dispersions, using linear regression on ln transformed values. Lowly expressed genes, mean expression < 2^4, are excluded as long as at least 2000 genes remain for fitting.

Value

Coefficients of linear regression.

Examples

1
2
3
4
5
	library(M3DExampleData)
	counts <- as.matrix(Mmus_example_list$data);
	counts <- counts[rowSums(counts) > 0,];
	fit <- NBumiFitModel(counts);
	coeffs <- NBumiFitDispVsMean(fit, suppress.plot=TRUE);

tallulandrews/M3D documentation built on May 31, 2019, 2:55 a.m.