Usage
rfOptimisation(object, fcol = "markers", mtry = NULL, times = 100, test.size = 0.2, xval = 5, fun = mean, seed, verbose = TRUE, ...)
Arguments
object
An instance of class "MSnSet".
fcol
The feature meta-data containing marker definitions.
Default is markers.
mtry
The hyper-parameter. Default value is NULL.
times
The number of times internal cross-validation is performed.
Default is 100.
test.size
The size of test data. Default is 0.2 (20 percent).
xval
The n-cross validation. Default is 5.
fun
The function used to summarise the xval macro F1 matrices.
seed
The optional random number generator seed.
verbose
A logical defining whether a progress bar is displayed.
...
Additional parameters passed to randomForest from package randomForest.