clf {scClassifR} | R Documentation

## clf

### Description

Returns the classifier of the `scClassifR` object

### Usage

    clf(classifier)

### Arguments

`classifier` | `scClassifR` object

### Value

Classifier is the object returned by caret SVM learning process. More information about the caret package: https://topepo.github.io/caret/

### Examples

    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")
    clf(clf_b)

[Package scClassifR version 1.2.0 Index]