
Last chance! 50% off unlimited learning
Sale ends in
SelectParams()
Creates a default SelectParams object. This uses a limma t-test and tries 100,
200, 300, 400, 500 features, and picks the number of features with the best
resubstitution error rate. Users should create an appropriate SelectParams
object for the characteristics of their data, once they are familiar with this software.
SelectParams(featureSelection, selectionName, minPresence = 1, intermediate = character(0),
subsetExpressionData = TRUE, ...)
Creates a SelectParams object which stores the function which will do the
selection and parameters that the function will use.
featureSelection
ExpressionSet
object. The function's
return value must be a vector of row indices of genes that were selected.selectionName
minPresence
featureSelection
is equivalent to set intersection.intermediate
runTest
that need to be passed to a feature selection function.subsetExpressionData
...
featureSelection
was a list of functions, this must be a list of lists, as
long as featureSelection
. if(require(sparsediscrim))
{
SelectParams(limmaSelection, "t-test",
trainParams = TrainParams(), predictParams = PredictParams(),
resubstituteParams = ResubstituteParams())
# For pamr shrinkage selection.
SelectParams(nearestShrunkenCentroidSelectionInterface, datasetName = "Ovarian Cancer",
intermediate = "trained", subsetExpressionData = FALSE)
}
Run the code above in your browser using DataLab