measureM {ctrlGene} | R Documentation |

## 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

```
FIB
measureM(FIB,ctVal=FALSE)
FIBct
measureM(FIBct)
```

[Package

*ctrlGene*version 1.0.1 Index]