Learn R Programming

metaX (version 1.4.0)

plotIntDistr: Plot the distribution of the peaks intensity

Description

Plot the distribution of the peaks intensity for both raw intensity and normalized intensity.

Usage

plotIntDistr(x, width = 14, ...)

Arguments

x
A metaXpara object.
width
The width of pdf, default is 14.
...
Additional parameter

Value

The figure name

Examples

Run this code
library(faahKO)
xset <- group(faahko)
xset <- retcor(xset)
xset <- group(xset)
xset <- fillPeaks(xset)
peaksData <- as.data.frame(groupval(xset,"medret",value="into"))
peaksData$name <- row.names(peaksData)
para <- new("metaXpara")
rawPeaks(para) <- peaksData
sampleListFile(para) <- system.file("extdata/faahKO_sampleList.txt", 
    package = "metaX")
para <- reSetPeaksData(para)
plotIntDistr(para)
## after normalization
para <- metaX::normalize(para)
plotIntDistr(para)

Run the code above in your browser using DataLab