run.ruv: run.ruv - Run the the CytofRUV alignment method.

View source: R/run.ruv.R

run.ruvR Documentation

run.ruv - Run the the CytofRUV alignment method.

Description

This function allows you to run the CytofRUV alignment method.

Usage

run.align()

Arguments

dat

NO DEFAULT.A data.table consisting of the data (both reference and taret) you wish to align

sample.col

NO DEFAULT. Column name of the data.table that contains sample names

batch.col

NO DEFAULT. Column name of the data.table that contains batch labels

align.cols

NO DEFAULT. Vector of column names to align.

ref.samples

NO DEFAULT. Character vector of sample names that are used as reference data.

cluster.col

DEFAULT = NULL. Column name of the data.table that contains clusters. If NULL, will align data without clusters.

k

DEFAULT = K. K value for alignment

dir

DEFAULT = getwd(). Directory where the work is being done

append.name

DEFAULT = '_ruv'. Text to be appended to end of each new column 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

References

Ashhurst, T. M., et al. (2019). https://www.ncbi.nlm.nih.gov/pubmed/31077106

Examples

cell.dat <- run.ruv()


ImmuneDynamics/Spectre documentation built on Nov. 12, 2023, 8:12 a.m.