getTopFeatures,PCOSP-method {PDATK} | R Documentation |
Get the top features for classification using a PCOSP model object.
## S4 method for signature 'PCOSP' getTopFeatures(object, numModels)
object |
A |
numModels |
An |
A character
vector of gene names representing the unique genes
from the top numModels
KTSPs models in the model object
.
data(sampleTrainedPCOSPmodel) # Get the top features topFeatures <- getTopFeatures(sampleTrainedPCOSPmodel, numModels=5)