p_thres {scClassifR} | R Documentation

## p_thres

### Description

Returns the probability threshold for the given classifier.

### Usage

    p_thres(classifier)

### Arguments

`classifier` | scClassifR object

### Value

Predicting probability threshold 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,
    features = selected_features_B, cell_type = "B cells")
    p_thres(clf_b)

[Package scClassifR version 1.2.0 Index]