poolRuns {QDNAseq} | R 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, "LGG150")

[Package QDNAseq version 1.16.0 Index]