align_CellType {FEAST}R Documentation

Align the cell types from the prediction with the truth.

Description

Align the cell types from the prediction with the truth.

Usage

align_CellType(tt0)

Arguments

tt0

a N*N table.

Value

the matched (re-ordered) table

Examples

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

[Package FEAST version 1.0.0 Index]