batch_correct: batch_correct

Description Usage Arguments Value

View source: R/batch_correct.R

Description

Performs a batch correction on normalized count data using sva's ComBat method.

Usage

1
batch_correct(data, batches, gene_column)

Arguments

data

A data frame of normalized count data.

batches

A character vector naming the batches that the samples belong to.

gene_column

A character string naming the column containing gene names.

Value

A data frame of batch-corrected data (can contain negative values).


alextkalinka/delboy documentation built on Feb. 2, 2022, 4:19 p.m.