Learn R Programming

SnapATAC (version 1.0.0)

runHarmony: Perform batch effect using harmony

Description

Integration of single cell ATAC-seq data for batch correction using Harmony algorithm

Usage

runHarmony(obj, eigs.dim, meta_data, vars_use, ...)

Arguments

obj

A snap object

eigs.dim

A vector of the components to use in construction of the KNN graph.

meta_data

Either (1) Dataframe with variables to integrate or (2) vector with labels.

vars_use

If meta_data is dataframe, this defined which variable(s) to remove (character vector).

...

Paramters passed to Harmony