votes {GolubRR}R Documentation

Compute the votes for each gene.

Description

Golub et al define a method they call weighted voting. This function computes the vote cast for each class.

Usage

votes(eset, c)

Arguments

eset An instance of the exprSet class.
c A categorical variable, defining two classes.

Details

A vote is defined to be the absolute value of the difference between the observed value for a gene and the average of the two within sample means. The vote is cast for the group with mean closest to the expressed value of the gene. The weights are computed using P.

Value

A list with the following components.

closer A genes by samples array indicating which class is closest.
mns The average of the two within group means.
wts The wts are per gene and are computed using P.
vote The numerical vote, a genes by samples array.

Author(s)

R. Gentleman

References

Molecular Classification of Cancer: Class Discovery and Class Prediction by Gene Expression Monitoring, Science, 531-537, 1999, T. R. Golub and D. K. Slonim and P. Tamayo and C. Huard and M. Gaasenbeek and J. P. Mesirov and H. Coller and M.L. Loh and J. R. Downing and M. A. Caligiuri and C. D. Bloomfield and E. S. Lander

See Also

P, P

Examples

   library(golubEsets)
   vts <- votes(golubMerge[1:20,], golubMerge$ALL)

[Package GolubRR version 1.3.1 Index]