Learn R Programming

ctrlGene (version 1.0.1)

measureM: Calculates measure M

Description

This function calculates measure M according to algorithm of geNorm

Usage

measureM(expression, ctVal = TRUE)

Arguments

expression

a matrix of expression levels. Each row corresponds to a sample and each column to a gene.

ctVal

a logical value indicating data type. If ct-values are input, ctVal=TRUE, otherwise, ctVal=FALSE.

Value

A sorted dataframe with two columns, 'Genes' and 'M' (the relative stability; lower means more stable).

References

Vandesompele J, De Preter K, Pattyn F, Poppe B, Van Roy N, De Paepe A, Speleman F (2002) <doi: 10.1186/gb-2002-3-7-research0034>.

Examples

Run this code
# NOT RUN {
FIB
measureM(FIB,ctVal=FALSE)
FIBct
measureM(FIBct)
# }

Run the code above in your browser using DataLab