align_CellType: Align the cell types from the prediction with the truth.

Description Usage Arguments Value Examples

View source: R/Cluster_Evaluation.R

Description

Align the cell types from the prediction with the truth.

Usage

1

Arguments

tt0

a N*N table.

Value

the matched (re-ordered) table

Examples

1
2
3
4
vec1 = rep(1:4, each=100)
vec2 = sample(vec1)
tb = table(vec1, vec2)
#tb_arg = align_CellType(tb)

suke18/FEAST documentation built on Sept. 14, 2021, 12:22 a.m.