runCellClassify | R Documentation |
Use a one-class logistic regression (OCLR) model to predict cancer microenvironment cell types.
runCellClassify(
expr,
cell.annotation,
coor.names = c("tSNE_1", "tSNE_2"),
savePath,
ct.templates = NULL,
species = "human"
)
expr |
A Seurat object. |
cell.annotation |
A data.frame of cells' annotation. |
coor.names |
A vector indicating the names of two-dimension coordinate used in visualization. |
savePath |
A path to save the results files. If NULL, the 'statPath' will be used instead. |
ct.templates |
A list of vectors of several cell type templates. The default is NULL and the templates prepared in this package will be used. |
species |
A character string indicating what species the sample belong to. Only "human"(default) or "mouse" are allowed. |
A list of updated Seurat object, cell.annotation, and the plots for cell type annotation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.