QCsample-methods {ChIPQC} | R Documentation

## Retrieve sample objects associated with an experiment

### Description

Retrieves a list of `ChIPQCsample` objects, or one specific `ChIPQCsample` object, from a `ChIPQCexperiment` object.

### Methods

`signature(object = "ChIPQCexperiment", sampleID)`

  If `sampleID` is missing or equal to `0`, the full `list` of `ChIPQCsample` objects is returned. If `sampleID` is an integer `n`, the `ChIPQCsample` object corresponding to the `n`th sample is returned. If `sampleID` is a character string, the `ChIPQCsample` object corresponding to the sample with that ID is returned.

### Author(s)

Rory Stark and Thomas Carroll

### See Also

ChIPQC-package, ChIPQCsample, ChIPQCexperiment

### Examples

    data(example_QCexperiment)
    samples = QCsample(exampleExp)
    length(samples)
    names(samples)
    samples$CTCF_1

[Package ChIPQC version 1.18.2 Index]