Select nfeat top features from each column (label) of impScores
selectFeat(impScores, nfeat = 5, absVal = TRUE)
Arguments
- impScores
Matrix. Each column corresponds to a phenotype (eg a cell type) and contains importance scores of features for predicting that phenotype.
- nfeat
Number of top features to select from each column of impScores.
- absVal
Take absolute value or not.
Value
Vector of selected features.