dovote {GolubRR}R Documentation

Compute the weighted vote for the supplied sample.

Description

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.

Usage

dovote(x, vstr)

Arguments

x A vector of gene expressions for some samples.
vstr An object of class vstruct that describes the reference set.

Details

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.

Value

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.

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

vstruct

Examples

   library(golubEsets)
   vs <- vstruct(golubTest[1:20,], golubTest$ALL)
   vts <- dovote(exprs(golubTrain)[1:20,1], vs)

[Package GolubRR version 1.3.1 Index]