Create one hot matrix for a given label
CreateCategoryMatrix(
labels,
method = c("aggregate", "average"),
cells.name = NULL
)
A vector of labels
Method to aggregate cells with the same label. Either 'aggregate' or 'average'
A vector of cell names