codeY.Rd
Convert discrete annotations to dummy variable matrices.
codeY(sce, phenotypes, method = c("-1,1", "0,1"))
SingleCellExperiment object.
Which phenotype annotations (e.g. cell types) to convert.
Which coding to use, either (-1,1) or (0,1).
A dummy variable matrix encoding discrete annotation