| housekeeping_stability | R Documentation |
Ranks candidate reference genes with geNorm (Vandesompele et al. 2002) and
NormFinder (Andersen et al. 2004), after keeping the genes detected in most
samples.
With group, NormFinder accounts for the groups, and a Kruskal-Wallis test
tells whether each gene's expression differs between them, which makes a
poor reference gene.
housekeeping_stability(x, genes = NULL, group = NULL, min_detection = 0.9)
x |
A |
genes |
The genes to rank; |
group |
A column of |
min_detection |
The smallest share of samples in which a gene must be above background to be ranked. |
The two most stable genes share the same geNorm M by construction, so their
order, ranks 1 and 2, is arbitrary.
Without group, NormFinder_rho is the standard deviation of the
residual variation of the gene.
With group, it also counts the variation between the groups, shrunk
towards zero as NormFinder does.
A list with ranking, a data frame with one row per gene from the
most to the least stable: Name, CodeClass, detection_rate,
mean_log2, geNorm_M, geNorm_rank, NormFinder_rho and, with
group, group_p_value and group_p_adjusted (Benjamini-Hochberg); and
pairwise_v, the geNorm pairwise variation V for each number of genes.
A V below 0.15 is the usual sign that adding a gene no longer helps.
data(GSE74821)
housekeeping_stability(GSE74821)$ranking
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.