Description Usage Arguments Details Value Author(s) Examples

`findWeights`

returns a list of variances and weights based on the correlation
between genes for each level of a factor found in the annotation. This function is
typically used to find the weights of each individual in the data set.

1 | ```
findWeights(X, anno, Factor)
``` |

`X` |
A matrix of gene expression values. |

`anno` |
A dataframe or a matrix containing the annotation of arrays in |

`Factor` |
A character string corresponding to a column name of |

Note that because calculations of weights include finding correlations between all genes,
this function might take some time. Hence, recalculation of weights is not advisable and
should be avoided. However often the inverse variances can be used to calculate new weights.
In particlular, when *W_i* denotes the weight of the *i^{th}* level and *V_i*
the variance as calculated from the gene-gene correlations:

*W_i=\frac{\frac{1}{V_i}}{∑_{i=1}^{n}\frac{1}{V_i}}*

`findWeights`

returns output of the class `Weights`

.
An object of class `Weights`

is a `list`

with the following components:

`Weights`

A list containing the weights of each level of`Factor`

.`Inv.Sigma`

A list containing the inverse variances of each level of`Factor`

.

Saskia Freytag

1 2 3 4 5 |

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.