averagepeaksignal-methods: Retrieve average peak profiles

Description Methods Author(s) See Also Examples

Description

Retrieve the average peak profile for a sample or set of samples.

Methods

signature(object = "ChIPQCexperiment")

Retrieve a matrix of the average peak profiles for all of the samples in an ChIP-seq experiment. Each column represents a sample, and each row a base pair position, centered on peak summits.

signature(object = "list")

Retrieve a matrix of the average peak profiles for all of the samples in a list of ChIPQC samples. Each column represents a sample, and each row a base pair position, centered on peak summits.

signature(object = "ChIPQCsample")

Retrieve a vector representing the average peak profile for a sample. Each column represents a basepair position, centered on the peak summits.

Author(s)

Thomas Carroll and Rory Stark

See Also

ChIPQC-package, ChIPQCexperiment, ChIPQCsample

Examples

1
2
3
4
5
6
7
8
data(example_QCexperiment)
CTCFprofile = averagepeaksignal(QCsample(exampleExp,1))
length(CTCFprofile)
plot(CTCFprofile,type='l',ylab="mean pileup")

allprofiles = averagepeaksignal(exampleExp)
dim(allprofiles)
for(i in 1:ncol(allprofiles)) lines(allprofiles[,i],col=i)

ChIPQC documentation built on Nov. 8, 2020, 8:06 p.m.