Description Usage Arguments Details Value Author(s) Examples

Given a numeric matrix and a class variable, this function calculates the sum divided by the sqrt of the number of observations for each class, returning a gene-by-class matrix of summarized values.

1 | ```
calcMeans(x, cls)
``` |

`x` |
numeric matrix |

`cls` |
class variable (must be same length as number of columns of |

This function, of course, does not calculate means, per se. The denominator here is the square root of the number of observations. This is to ensure the resultant summaries have the same variance.

numeric matrix of dimension `nrow(x)`

by `length(unique(cls))`

Mark Robinson

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.