Learn R Programming

DAPAR (version 1.4.7)

wrapper.densityPlotD: Builds a densityplot from an object of class MSnSet

Description

This function is a wrapper for using the densityPlotD function with objects of class MSnSet

Usage

wrapper.densityPlotD(obj, labelsForLegend = NULL, indData2Show = NULL, group2Color = "Condition")

Arguments

obj
An object of class MSnSet.
labelsForLegend
A vector of labels to show in densityplot.
indData2Show
A vector of the indices of the columns to show in the plot. The indices are those of indices of the columns int the data frame qDataBefore in the density plot.
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

wrapper.boxPlotD, wrapper.varianceDistD

Examples

Run this code
data(UPSpep25)
labels <- Biobase::pData(UPSpep25)[,"Label"]
wrapper.densityPlotD(UPSpep25, labels)

Run the code above in your browser using DataLab