QCcontrol-methods {ChIPQC} | R Documentation

## Retrieve control objects associated with a sample

### Description

Retrieve the `ChIPQCsample` objects representing controls, or a specific `ChIPQCsample` representing the control for a specific sample, from a `ChIPQCexperiment` object.

### Methods

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

  Get the control sample (as a `ChIPQCsample` object) associated with a ChIP sample, or, if `sampleID` is missing, a list of all samples used as controls. `sampleID` is a character string or an integer.

### Author(s)

Rory Stark and Thomas Carroll

### See Also

ChIPQC-package, ChIPQCsample, ChIPQCexperiment

### Examples

    data(tamoxifen_QC)
    controls = QCcontrol(tamoxifen)
    length(controls)
    names(controls)
    controls[[1]]
    bt474control = QCcontrol(tamoxifen,"BT4741")
    bt474control

[Package ChIPQC version 1.28.0 Index]