decorate_confusion: decorate_confusion

Description Usage Arguments Value Examples

View source: R/CoreMethods.R

Description

add unassign count from confusion matrix (internal function of predict_cell)

Usage

1
decorate_confusion(confusion, y, cellnames, sname)

Arguments

confusion

confusion matrix from "transfer_map_consensus" function in Julia

y

table of count for each cell type (query)
- y <- table(field(query_signature, "celltypes"))

cellnames

cell type of query data

sname

cell type of side-information

Value

a confusion matrix that has unassign count

Examples

1

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