A wrapper for mapping query data onto reference.
MapQuery(
seu.q,
reference,
assay.q = "RNA",
add.map.qual = FALSE,
ncores = 1,
split.by = NULL
)
A query Seurat object.
Reference model.
The assay used for reference mapping. Default: RNA
Whether add mapping quality metric (mean kNN distance). Default: FALSE
Number of threads for calculation. Default: 1
Attribute for splitting query Seurat object, projecting the query object by a list of subsetted object. Default: NULL
A Seurat object. The projected reference embeddings were saved in a dimension reduction object named 'ref.umap'. The gene set score were saved in a new assay named 'SignatureScore'.