run.harmony: run.harmony - dun Harmony alignment on a data.table

Description Usage Arguments Value Author(s) Examples

View source: R/run.harmony.R

Description

This function allows you to run the 'Harmony' data alignment algorithm on single cell or cytometry data stored in a data.table

Usage

1

Arguments

dat

NO DEFAULT. A data.table with all of the data you wish to align

batch.col

NO default. The column that denotes the batch or dataset that each cell belongs to

align.cols

NO default. The columns you wish to align. For cytometry data, this can be the markers themselves or principle components. For single-cell seq data, principle components are recommended.

append.name

DEFAULT = '_aligned'. Text that will be appended to the new columns containing aligned data

Value

Returns a data.table with aligned data added in new columns.

Author(s)

Thomas M Ashhurst, thomas.ashhurst@sydney.edu.au

Examples

1
cell.dat <- run.harmony()

sydneycytometry/Spectre documentation built on March 20, 2021, 2:15 a.m.