ProjectDimReduc: Project query data to reference dimensional reduction

View source: R/integration.R

ProjectDimReducR Documentation

Project query data to reference dimensional reduction

Description

Project query data to reference dimensional reduction

Usage

ProjectDimReduc(
  query,
  reference,
  mode = c("pcaproject", "lsiproject"),
  reference.reduction,
  combine = FALSE,
  query.assay = NULL,
  reference.assay = NULL,
  features = NULL,
  do.scale = TRUE,
  reduction.name = NULL,
  reduction.key = NULL,
  verbose = TRUE
)

Arguments

query

Query object

reference

Reference object

mode

Projection mode name for projection

  • pcaproject: PCA projection

  • lsiproject: LSI projection

reference.reduction

Name of dimensional reduction in the reference object

combine

Determine if query and reference objects are combined

query.assay

Assay used for query object

reference.assay

Assay used for reference object

features

Features used for projection

do.scale

Determine if scale expression matrix in the pcaproject mode

reduction.name

dimensional reduction name, reference.reduction is used by default

reduction.key

dimensional reduction key, the key in reference.reduction is used by default

verbose

Print progress and message

Value

Returns a query-only or query-reference combined seurat object


satijalab/seurat documentation built on May 11, 2024, 4:04 a.m.