wrapper.densityPlotD_HC {DAPAR} | R Documentation

## 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`. Same as the function `wrapper.densityPlotD` but uses the package `highcharter`

### Usage

    wrapper.densityPlotD_HC(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

### Author(s)

Samuel Wieczorek

### See Also

`wrapper.boxPlotD`, `wrapper.CVDistD`

### Examples

    require(DAPARdata)
    data(Exp1_R25_pept)
    labels <- Biobase::pData(Exp1_R25_pept)[,"Label"]
    wrapper.densityPlotD_HC(Exp1_R25_pept, labels)

[Package DAPAR version 1.10.4 Index]