DaMiR.FBest {DaMiRseq} | R Documentation |
This function allows the user to select a subset of predictors; the number of predictors can be defined by user or selected automatically.
DaMiR.FBest( data, ranking, autoselect = c("no", "yes"), n.pred = 10, th.zscore = 2 )
data |
A transposed data frame of expression data. Rows and Cols should be, respectively, observations and features |
ranking |
A data frame with importance score for each feature,
generated by
|
autoselect |
A flag to specify how to select predictors:
|
n.pred |
If |
th.zscore |
Threshold of scaled importance score (Z-score); default value is 2 |
A list containing:
A data frame of normalized expression data of the most important selected predictors.
A vector with predictors name.
Mattia Chiesa, Luca Piacentini
# use example data: data(data_reduced) data(data_relief) # select the first 8 predictors rankad by imporatance: selected_features <- DaMiR.FBest(data_reduced, data_relief, n.pred = 8) # select predictors by importance but automatically: selected_features <- DaMiR.FBest(data_reduced, data_relief, autoselect = "yes", th.zscore = 1.5)