Description Usage Arguments Value Examples
Delete model/branch from package
1 | delete_model(cell_type, path.to.models = ".")
|
cell_type |
string indicating the cell type of which the model will be removed from package Attention: deletion of a parent model will also delete all of child model. |
path.to.models |
path to the folder containing the list of models in which the to-be-deleted model is. |
no return value, but the model is deleted from database
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # load small example dataset
data("tirosh_mel80_example")
# train a classifier
set.seed(123)
selected_features_T = c("CD4", "CD8A", "CD8B")
clf_t <- train_classifier(train_obj = tirosh_mel80_example,
features = selected_features_T, cell_type = "t cells")
# save a classifier to system
save_new_model(new_model = clf_t)
# delete classifier from system
delete_model("t cells")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.