plotIntDistr | R Documentation |
Plot the distribution of the peaks intensity for both raw intensity and normalized intensity.
plotIntDistr(x, width = 14, sortBy = "order", rmNA = TRUE,
ylim = NULL, ...)
x |
A metaXpara object. |
width |
The width of pdf, default is 14. |
sortBy |
Sort the samples according to order (default), batch or class |
rmNA |
Whether or not to consider NA, default is TRUE. When this value is FALSE, NA will be considered as 0 then all values are +1. |
... |
Additional parameter |
The figure name
Bo Wen wenbostar@gmail.com
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.