addTwoDimRed: addTwoDimRed

View source: R/ArchRtoSignac.R

addTwoDimRedR Documentation

addTwoDimRed

Description

This function adds dimension reduction ('Harmony' and/or 'IterativeLSI') and UMAP to a SeuratObject

Usage

addTwoDimRed(
  ArchRProject,
  SeuratObject,
  addUMAPs = "UMAP",
  reducedDims1 = NULL,
  reducedDims2 = NULL
)

Arguments

ArchRProject

An ArchRProject

SeuratObject

A Seurat object

addUMAPs

add UMAPs by default

reducedDims1

'Harmony'or 'IterativeLSI' or 'IterativeLSI2', the dimension reduction to be transfered from ArchRProject to Signac SeuratObject (default is 'IterativeLSI')

reducedDims2

'Harmony'or 'IterativeLSI' or 'IterativeLSI2', the dimension reduction to be transfered from ArchRProject to Signac SeuratObject (default is 'IterativeLSI')

Examples

seurat_atac <- addTwoDimRed(ArchRProject = proj, SeuratObject = seurat_atac, reducedDims1 = 'IterativeLSI', reducedDims2= 'Harmony')

swaruplabUCI/ArchRtoSignac documentation built on Aug. 23, 2024, 2:03 p.m.