dovote {GolubRR} | R Documentation |
The per group votes, the prediction strength (PS) and which group was
selected are computed for a given sample, using an object of class
vstruct
.
dovote(x, vstr)
x |
A vector of gene expressions for some samples. |
vstr |
An object of class vstruct that describes the
reference set. |
The various test statistics required for the weighted voting algorithm are computed for the given vector of gene expressions. The results are returned in a list.
A list containing:
PS |
The prediction strength |
vAML |
The weighted votes for AML. |
vALL |
The weighted votes for ALL. |
wh |
The class (either ALL or AML) that the vote is cast for. |
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) vs <- vstruct(golubTest[1:20,], golubTest$ALL) vts <- dovote(exprs(golubTrain)[1:20,1], vs)