View source: R/cell_type_assignments.R
scRNA_markers_assign | R Documentation |
Using gene expression markers, unsupervised clusters, and gene expression, assign the likely celltype to those clusters
scRNA_markers_assign( r, cell.clusters, cell.sig, immune.markers, non.immune.cell.types = c("Endothelial", "CAF", "Malignant"), EM.flag = F, OE.type = "V1", test.type = "ttest", minZ = 10, subsample = T )
r |
data list including the gene expression data |
cell.clusters |
a n-length list to where n is the number of cells |
cell.sig |
cell type signatures (list of lists of markers associated with each cell-type, default exists) |
immune.markers |
immune markers (default exists) |
non.immune.cell.types |
which cell types are not immune cell types? |
EM.flag |
run EM? (default = F) |
OE.type |
which version of overall-expression to calculate (default = "V1") |
test.type |
which kind of test to test marker significance between clusters |
minZ |
minimum significance cutoff to assign a cell-type (default = 10) |
a list with objects named "c" and "m" corresponding to your subsampled counts and metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.