Learn R Programming

DAPAR (version 1.4.7)

boxPlotD: Builds a boxplot from a dataframe

Description

Boxplot for quantitative proteomics data

Usage

boxPlotD(qData, dataForXAxis = NULL, labels = NULL, group2Color = "Condition")

Arguments

qData
A dataframe that contains quantitative data.
dataForXAxis
A vector containing the types of replicates to use as X-axis. Available values are: Label, Analyt.Rep, Bio.Rep and Tech.Rep. Default is "Label".
labels
A vector of the conditions (labels) (one label per sample).
group2Color
A string that indicates how to color the replicates: one color per condition (value "Condition") or one color per replicate (value "Replicate"). Default value is by Condition.

Value

A boxplot

See Also

densityPlotD

Examples

Run this code
data(UPSpep25)
qData <- Biobase::exprs(UPSpep25)
types <- c("Label","Analyt.Rep")
dataForXAxis <- Biobase::pData(UPSpep25)[,types]
labels <- Biobase::pData(UPSpep25)[,"Label"]
boxPlotD(qData, dataForXAxis, labels)

Run the code above in your browser using DataLab