corrMatrixD_HC {DAPAR} | R Documentation

## Displays a correlation matrix of the quantitative data of the `exprs()` table.

### Description

Correlation matrix based on a `MSnSet` object. Same as the function corrMatrixD but uses the package `highcharter`

### Usage

    corrMatrixD_HC(object, samplesData = NULL, rate = 0.5)

### Arguments

`object` | The result of the `cor` function.
`samplesData` | A dataframe in which lines correspond to samples and columns to the meta-data for those samples.
`rate` | The rate parameter to control the exponential law for the gradient of colors

### Value

A colored correlation matrix

### Author(s)

Samuel Wieczorek

### Examples

    utils::data(Exp1_R25_pept, package='DAPARdata')
    qData <- Biobase::exprs(Exp1_R25_pept)
    samplesData <- Biobase::pData(Exp1_R25_pept)
    res <- cor(qData,use = 'pairwise.complete.obs')
    corrMatrixD_HC(res, samplesData)

[Package DAPAR version 1.19.18 Index]