Learn R Programming

CNPBayes (version 1.2.2)

saveBatch: Save se data

Description

Batches drawn from the same distribution as identified by Kolmogorov-Smirnov test are combined.

Usage

saveBatch(se, batch.file, THR = 0.1)

Arguments

se
a SummarizedExperiment object
batch.file
the file name to which to save the data
THR
threshold below which the null hypothesis should be rejected and batches are collapsed.

Value

A vector of collapsed batch labels