estimate_celltype: estimate_celltype

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

prediction of cell type by a given confusion matrix from "predict_cell". Assume binomial distribution: n: total cell count for each query celltype / p: 1/celltypes from cell ontology / X (for z score): cell count for each celltype from cell ontology. Only consider max cell count (draw -> mixed)

Usage

1

Arguments

conf

confusion matrix from "predict_cell"

Value

suggests matched cell type for corresponding query cell type with q-value, respectively

Examples

1
2
confusion <- predict_cell(att_set, query)
estimated_cell <- estimate_celltype(confusion)

hemberg-lab/sctransfermap documentation built on Nov. 11, 2019, 6:23 a.m.