Learn R Programming

metaX (version 1.4.0)

plotPeakNumber: Plot the distribution of the peaks number

Description

Plot the distribution of the raw peaks number without post-processing. This function not only generates a figure, but also saves the information of peaks number into a file.

Usage

plotPeakNumber(x, ...)

Arguments

x
A metaXpara object
...
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")
plotPeakNumber(para)

Run the code above in your browser using DataLab