Trains a model on training datasets. Predicts the risk score for all the
training & datasets, independently. This function also predicts the risk
score for combined training datasets cohort and validation datasets cohort.
The risk score estimation is done by multivariate models fit by
fit.survivalmodel. The function also predicts risk scores for each of
the top.n.features independently.
create.classifier.univariate(
data.directory = ".",
output.directory = ".",
feature.selection.datasets = NULL,
feature.selection.p.threshold = 0.05,
training.datasets = NULL,
validation.datasets = NULL,
top.n.features = 25,
models = c("1", "2", "3")
)Path to the directory containing datasets as specified
by feature.selection.datasets, training.datasets,
validation.datasets
Path to the output folder where intermediate and results files will be saved
A vector containing names of datasets used
for feature selection in function derive.network.features()
One of the P values that were used for
feature selection in function derive.network.features(). This
function does not support vector of P values as used in
derive.network.features() for performance reasons
A vector containing names of training datasets
A vector containing names of validation datasets
A numeric value specifying how many top ranked features will be used for univariate survival modelling
A character vector specifying which of the models ('1' = N+E, '2' = N, '3' = E) to run
The output files are stored under output.directory/output/
# NOT RUN {
# see package's main documentation
# }
Run the code above in your browser using DataLab