codeY_vec.Rd
Convert discrete annotations to dummy variable matrices.
codeY_vec(vec, rowNames = NULL, method = c("-1,1", "0,1"))
Factor contanining class labels.
Optional. Row names for output dummy matrix (eg cell barcode).
Which coding to use, either (-1,1) or (0,1).
A dummy variable matrix encoding discrete annotation