cell_type | R Documentation |
Returns the cell type for the given classifier.
cell_type(classifier)
## S4 replacement method for signature 'scAnnotatR'
cell_type(classifier) <- value
classifier |
scAnnotatR object. The object is returned from the train_classifier function. |
value |
the new cell type |
cell type of object
scAnnotatR object with the new cell type
data("tirosh_mel80_example")
selected_marker_genes_B = c("CD19", "MS4A1", "CD79A")
set.seed(123)
classifier_b <- train_classifier(train_obj = tirosh_mel80_example,
assay = 'RNA', slot = 'counts', marker_genes = selected_marker_genes_B,
cell_type = "B cells", tag_slot = 'active.ident')
cell_type(classifier_b)
data("tirosh_mel80_example")
selected_marker_genes_B = c("CD19", "MS4A1", "CD79A")
set.seed(123)
classifier_b <- train_classifier(train_obj = tirosh_mel80_example,
assay = 'RNA', slot = 'counts', marker_genes = selected_marker_genes_B,
cell_type = "B cells", tag_slot = 'active.ident')
cell_type(classifier_b) <- "B cell"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.