poolRuns: Pools binned read counts across samples

poolRunsR Documentation

Pools binned read counts across samples

Description

Pools binned read counts across samples.

Usage

poolRuns(object, samples, force=FALSE)

Arguments

object

A QDNAseqReadCounts or QDNAseqCopyNumbers object.

samples

A character vector of new sample names. Samples with identical names will be pooled together. Must be the same length as there are samples in object.

force

Whether to force the operation even when downstream data will be lost.

Value

Returns a QDNAseqReadCounts or QDNAseqCopyNumbers object.

Author(s)

Ilari Scheinin

Examples

data(LGG150)
readCounts <- LGG150
# Note: the following command will "pool" data from a single run, which
# does not really make sense:
pooledReadCounts <- poolRuns(readCounts, samples = "LGG150")

ccagc/QDNAseq documentation built on July 28, 2024, 3:46 p.m.