vstruct {GolubRR} | R Documentation |
As part of the weighted voting methodology Golub et al also proposed an indicator of prediction strength. This function produces some intermediate computations that can then be used to obtain votes and other quantities.
vstruct(eset, c)
eset |
An instance of the exprSet class. |
c |
A categorical variable, defining two classes. |
This function computes P(x,c)
for all genes, x
in
eset
. It also computes the within group means. Both are
returned in an object of class vstruct
.
An object of class vstruct
. It has two slots,
wts |
These are the correlations between the genes and the class
variable c . |
mns |
A matrix with two rows and one column for each gene. The elements are the within group means for each gene. |
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(golubMerge[1:20,], golubMerge$ALL)