align_CellType {FEAST} | R Documentation |
Align the cell types from the prediction with the truth.
align_CellType(tt0)
tt0 |
a N*N table. |
the matched (re-ordered) table
vec1 = rep(1:4, each=100) vec2 = sample(vec1) tb = table(vec1, vec2) #tb_arg = align_CellType(tb)