plotProfile: Plots average profiles of ChIP-seq experiments

Description Usage Arguments Details Value Methods (by class) Author(s) See Also Examples

Description

Plots average profiles of all experiments contained in a 'spikeDataset' at different locations

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
    plotProfile(theObject, legends = FALSE, colVec = NULL, notScaled = FALSE)

## S4 method for signature 'ChIPSeqSpikeDataset'
plotProfile(theObject, legends = FALSE, 
colVec = NULL, notScaled = FALSE)

## S4 method for signature 'ChIPSeqSpikeDatasetBoost'
plotProfile(theObject, legends = FALSE, 
colVec = NULL)

## S4 method for signature 'ChIPSeqSpikeDatasetList'
plotProfile(theObject, legends = FALSE, 
colVec = NULL, notScaled = FALSE)

## S4 method for signature 'ChIPSeqSpikeDatasetListBoost'
plotProfile(theObject, legends = 
 FALSE, colVec = NULL)

Arguments

theObject

ChIPSeqSpike dataset (see ?spikeDataset)

legends

Logical indicating if legend should be indicated. Default is FALSE.

colVec

Character vector indicating the colors to use. Default is NULL

notScaled

If not in boost mode, logical indicating if untransformed data should be plotted. Default is FALSE.

Details

plotProfile plots average signal over annotations that were given to the 'extractBinding' method. plotProfile is using the 'plotAverage' method of the 'seqplots' package.

By default, the spiked signal is plotted. If the 'notScaled' parameter is set to TRUE and the object is of type ChIPSeqSpikeDatasetList or ChIPSeqSpikeDataset (no boost mode), the RPM scaled and input subtracted values are also plotted. This option enables to visualize the effect of spike-in scaling.

The signal is plotted at four different annotation locations: 'start', 'end', 'midpoint' and 'composite' (pf, ef, mf and af options of 'plotAverage' method).

Value

Nothing

Methods (by class)

Author(s)

Nicolas Descostes

See Also

spikeDataset extractBinding plotAverage plotTransform boxplotSpike plotHeatmaps plotCor

Examples

1
2
3
4
data("result_extractBinding")
plotProfile(csds)
plotProfile(csds, TRUE)
plotProfile(csds, TRUE, notScaled = TRUE)

descostesn/ChIPSeqSpike documentation built on Aug. 6, 2019, 3:51 p.m.