Description Usage Arguments Value See Also Examples
A decision tree in Pigengene uses module eigengenes to build a classifier that distincuishes two or more classes. Each eigengene is a weighted average of the expression of all genes in the module, where the weight of each gene corresponds to its membership in the module. Each modules might contain dozens to hundreds of genes, and hence the final classifier might depend on the expression of a large number of genes. In practice, it can be desireable to reduce the number of necessary genes used by a decision tree. This function is helpful in observing changes to the classification output after removing genes with lower weights membership. It determines how a given decision tree would classify the expression data after removing a certain number of genes from consideration.
1 |
c5Tree |
A decision tree that uses eigengenes from the pigengene object to classify the samples from the expression data. |
pigengene |
A object of |
pos |
Number of genes to be removed from the consideration. Genes are removed in ascending order of their absolute weight in the relevant modules. If 0 (default), the prediction will be done without compacting. |
Data |
The expression possibly new data used for classification |
A list with following components:
predictions |
The vector of predictions after neglecting |
eigengenes |
The values for the eigenges after neglecting |
Pigengene-package
, pigengene-class
,
make.decision.tree
, compact.tree
,
compute.pigengene
, module.heatmap
,
get.used.features
, get.fitted.leaf
,
Pigengene-package
1 2 3 4 5 6 7 8 9 10 11 12 | ## Data:
data(aml)
data(mds)
data(pigengene)
d1 <- rbind(aml,mds)
## Fiting the trees:
trees <- make.decision.tree(pigengene=pigengene, Data=d1,
saveDir="trees", minPerLeaf=15, doHeat=FALSE,verbose=3,
toCompact=FALSE)
preds1 <- preds.at(c5Tree=trees$c5Trees[["15"]], pigengene=pigengene,
pos=0, Data=d1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.