Learn R Programming

DAPAR (version 1.4.7)

densityPlotD: Builds a densityplot from a dataframe

Description

Densityplot of quantitative proteomics data over samples.

Usage

densityPlotD(qData, labelsForLegend = NULL, indData2Show = NULL, group2Color = "Condition")

Arguments

qData
A dataframe that contains quantitative data.
labelsForLegend
A vector of the conditions (labels) (one label per sample).
indData2Show
A vector of indices to show in densityplot. If NULL, then all labels are displayed.
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 density plot

See Also

boxPlotD, varianceDistD

Examples

Run this code
data(UPSpep25)
qData <- Biobase::exprs(UPSpep25)
labels <- lab2Show <- Biobase::pData(UPSpep25)[,"Label"]
densityPlotD(qData, labels)

Run the code above in your browser using DataLab