cell_type {scClassifR} | R Documentation

## cell_type

### Description

Returns the cell type for the given classifier.

### Usage

    cell_type(classifier)

### Arguments

`classifier` | `scClassifR` object

### Value

cell type of object

### Examples

    data("tirosh_mel80_example")
    selected_features_B = c("CD19", "MS4A1", "CD79A")
    set.seed(123)
    clf_b <- train_classifier(train_obj = tirosh_mel80_example,
    cell_type = "B cells", features = selected_features_B)
    cell_type(clf_b)

[Package scClassifR version 1.2.0 Index]