This function takes in Seurat objects and performs machine learning; generalized for common use. However as with any approach, especially in machine learning and statistical inference world, robust assessments are needed. This is a first step.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | MultiClassifier_Cells(
object_train,
object_test,
data2use = "data",
assay = "RNA",
training.genes = NULL,
Y_Train_True = NULL,
Y_Test_True = NULL,
Xp1 = F,
Xlog10 = F,
Xasinh = F,
do_Adaboost = F,
do_Caret_LinSVM = F,
do_ranger_RF = F,
do_Caret_NaiveBayes = F,
do_Caret_NNet = F,
do_Caret_radialSVM = F,
do_ElasticNet = F,
do_tree = F,
do_tree_gini = F,
do_Caret_pcaNNet = F,
do_Caret_rangerRF = F,
do_glmStepAIC = F,
do_stepLDA = F,
crossValReps = 3,
NcrossVal = 10,
preProc = c("scale", "center", "nzv", "zv")
)
|
A list of resuts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.