marker_genes: marker_genes

View source: R/class.R

marker_genesR Documentation

marker_genes

Description

Returns the set of marker genes for the given classifier.

Usage

marker_genes(classifier)

Arguments

classifier

scAnnotatR object

Value

Applied marker genes of object

Examples

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')
marker_genes(classifier_b)


grisslab/scAnnotatR documentation built on March 20, 2023, 2:42 a.m.