wrapper.mvPerLinesHisto_HC: Histogram of missing values per lines from an object using...

Description Usage Arguments Value Author(s) Examples

View source: R/missingValuesPlots.R

Description

#' This method is a wrapper to plots from a MSnSet object a #' histogram which represents the distribution of the #' number of missing values (NA) per lines (ie proteins). #' #' @title Histogram of missing values per lines from an object #' MSnSet #' #' @param obj An object of class MSnSet. #' #' @param indLegend The indice of the column name's in pData() tab . #' #' @param showValues A logical that indicates wether numeric values should be #' drawn above the bars. #' #' @return A histogram #' #' @author Alexia Dorffer #' #' @examples #' utils::data(Exp1_R25_pept, package='DAPARdata') #' wrapper.mvPerLinesHisto(Exp1_R25_pept) #' #' @export #' #' @importFrom Biobase pData exprs fData #' wrapper.mvPerLinesHisto <- function(obj, indLegend="auto", showValues=FALSE) qData <- Biobase::exprs(obj) samplesData <- Biobase::pData(obj) mvPerLinesHisto(qData, samplesData, indLegend, showValues) This method is a wrapper to plots from a MSnSet object a histogram which represents the distribution of the number of missing values (NA) per lines (ie proteins).

Usage

1
wrapper.mvPerLinesHisto_HC(obj, indLegend = "auto", showValues = FALSE)

Arguments

obj

An object of class MSnSet.

indLegend

The indice of the column name's in pData() tab .

showValues

A logical that indicates wether numeric values should be drawn above the bars.

Value

A histogram

Author(s)

Alexia Dorffer

Examples

1
2
utils::data(Exp1_R25_pept, package='DAPARdata')
wrapper.mvPerLinesHisto_HC(Exp1_R25_pept)

DAPAR documentation built on April 11, 2021, 6 p.m.