get_rf_pred {OncoSubtype}R Documentation

Predict the subtypes of selected cancer type

Description

Predict the subtypes of selected cancer type

Usage

get_rf_pred(train_set, test_set, method = "rf", seed = NULL)

Arguments

train_set

training set with rownames of samples, first column named 'mRNA_subtype' and the rest of features and expression values.

test_set

test set with rownames of features and colnames of samples.

method

character string of the method to use currently support 'rf'.

seed

integer seed to use.

Value

a matrix with column names of subtypes and predicted probabilities.


[Package OncoSubtype version 1.0.0 Index]