votes {GolubRR} | R Documentation |
Golub et al define a method they call weighted voting. This function computes the vote cast for each class.
votes(eset, c)
eset |
An instance of the exprSet class. |
c |
A categorical variable, defining two classes. |
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
.
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. |
R. Gentleman
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
library(golubEsets) vts <- votes(golubMerge[1:20,], golubMerge$ALL)