Classify {CHETAH} | R Documentation |
CHETAHclassifier
using a confidence threshold (Re)classify after running CHETAHclassifier
using a confidence threshold
NOTE: In case of bulk reference profiles: only the correlations will be used,
as the data does not allow for profile or confidence scores to be calculated.
Classify(input, thresh = 0.1, return_clas = FALSE)
input |
a SingleCellExperiment on which |
thresh |
a confidence threshold between -0 and 2. |
return_clas |
Instead of returning the SingleCellExperiment, only return the classification vector |
a charachter vector of the cell types with the names of the cells
## Classify all cells input_mel <- Classify(input_mel, 0) ## Classify only cells with a very high confidence input_mel <- Classify(input_mel, 1) ## Back to the default input_mel <- Classify(input_mel) ## Return only the classification vector input_mel <- Classify(input_mel, 1, return_clas = TRUE)