Description Usage Arguments Value Author(s) Examples
View source: R/plots_corr_matrix.R
#' Builds a correlation matrix based on a MSnSet
object.
#'
#' @title Displays a correlation matrix of the quantitative data of the
#' exprs()
table
#'
#' @param obj An object of class MSnSet
.
#'
#' @param rate A float that defines the gradient of colors.
#'
#' @return A colored correlation matrix
#'
#' @author Alexia Dorffer
#'
#' @examples
#' utils::data(Exp1_R25_pept, package='DAPARdata')
#' wrapper.corrMatrixD(Exp1_R25_pept)
#'
#' @importFrom Biobase exprs pData
#'
#' @export
#'
wrapper.corrMatrixD <- function(obj, rate=5)
qData <- Biobase::exprs(obj)
samplesData <- Biobase::pData(obj)
corrMatrixD(qData, samplesData, rate)
Builds a correlation matrix based on a MSnSet
object.
1 | wrapper.corrMatrixD_HC(obj, rate = 0.5, showValues = TRUE)
|
obj |
An object of class |
rate |
A float that defines the gradient of colors. |
showValues |
xxx |
A colored correlation matrix
Samuel Wieczorek
1 2 3 | utils::data(Exp1_R25_pept, package='DAPARdata')
wrapper.corrMatrixD_HC(Exp1_R25_pept)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.