counts2pvalue: This function calculates p-values for each gene given counts,...

View source: R/negative_binomial_check.R

counts2pvalueR Documentation

This function calculates p-values for each gene given counts, estimated NB size, and estimated NB mean

Description

This function calculates p-values for each gene given counts, estimated NB size, and estimated NB mean

Usage

counts2pvalue(counts, size, mu)

Arguments

counts

a vector of gene expression values (in counts)

size

an estimated size parameter of the NB distributions for the gene

mu

a vector of estimated mu parameter of the NB distributions for different samples of the gene

Value

a p-value based on estimated NB size and mean


compbiomed/BatchQC documentation built on Nov. 6, 2024, 12:17 a.m.