This function allows projection of high-dimensional single-cell RNA expression data from a full dataset onto the lower-dimensional embedding of the sketch of the dataset.
ProjectData(
object,
assay = "RNA",
sketched.assay = "sketch",
sketched.reduction,
full.reduction,
dims,
normalization.method = c("LogNormalize", "SCT"),
refdata = NULL,
k.weight = 50,
umap.model = NULL,
recompute.neighbors = FALSE,
recompute.weights = FALSE,
verbose = TRUE
)
A Seurat object.
Assay name for the full data. Default is 'RNA'.
Sketched assay name to project onto. Default is 'sketch'.
Dimensional reduction results of the sketched assay to project onto.
Dimensional reduction name for the projected full dataset.
Dimensions to include in the projection.
Normalization method to use. Can be 'LogNormalize' or 'SCT'. Default is 'LogNormalize'.
An optional list for label transfer from sketch to full data. Default is NULL. Similar to refdata in `MapQuery`
Number of neighbors to consider when weighting labels for transfer. Default is 50.
An optional pre-computed UMAP model. Default is NULL.
Whether to recompute the neighbors for label transfer. Default is FALSE.
Whether to recompute the weights for label transfer. Default is FALSE.
Print progress and diagnostic messages.
A Seurat object with the full data projected onto the sketched dimensional reduction results. The projected data are stored in the specified full reduction.