QCcontrol-methods: Retrieve control objects associated with a sample

QCcontrol-methodsR 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

shengqh/ChIPQC documentation built on Feb. 27, 2023, 10:51 p.m.