Create reference models
CreateReference(
umap.model,
gene.sets,
meta.data,
bg.genes = NULL,
gss.method = NULL,
colors = NULL,
text.pos = NULL
)
a list of models returned from FitEnsemblSVM() or FitEnsemblMultiClassif().
a list or data.frame stores gene sets for calculating gene-set scores.
a data.frame contains meta data for reference cells, including the reference UMAP embeddings and cell labels.
a vector stores background genes for calculating gene-set score matrix.
method for calculating gene-set scores, one of 'AUCell' and 'UCell'.
a named colors vector for visualizing the reference atlas. Deafult: NULL
a data.frame contains some annotated text on reference plot.
a reference.model class