combine_batches: Combine SummarizedExperiment objects and correct batch effect

View source: R/utils.R

combine_batchesR Documentation

Combine SummarizedExperiment objects and correct batch effect

Description

Combine SummarizedExperiment objects and correct batch effect

Usage

combine_batches(
  se.list,
  ID = "ID",
  by.assay = "data",
  correct.batch = TRUE,
  ref.batch = NULL,
  visual.aid = FALSE,
  ...
)

Arguments

se.list

a list of SummarizedExperiment objects

ID

a column name or index for gene ID

by.assay

assay

ref.batch

passed to ComBat

visual.aid

if TRUE, add UMAPs before and after batch correction

Value

combined SummarizedExperiment object


skimlab/CCSBUtils documentation built on March 30, 2022, 4:52 a.m.