parent: parent

Description Usage Arguments Value Examples

View source: R/class.R

Description

Returns the parent of the cell type corresponding to the given classifier.

Usage

1
parent(classifier)

Arguments

classifier

scClassifR object

Value

Parent model of object

Examples

1
2
3
4
5
6
data("tirosh_mel80_example")
selected_features_B = c("CD19", "MS4A1", "CD79A")
set.seed(123)
clf_b <- train_classifier(train_obj = tirosh_mel80_example, 
features = selected_features_B, cell_type = "B cells")
parent(clf_b)

grisslab/scClassifR documentation built on Oct. 27, 2021, 12:13 p.m.