runHarmony: Perform batch effect using harmony

View source: R/runHarmony.R

runHarmonyR Documentation

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


r3fang/SnapATAC documentation built on March 29, 2022, 4:33 p.m.