compareNormalizationD_HC: Builds a plot from a dataframe. Same as compareNormalizationD...

View source: R/plots_compare_Norm.R

compareNormalizationD_HCR Documentation

Builds a plot from a dataframe. Same as compareNormalizationD but uses the library highcharter

Description

Plot to compare the quantitative proteomics data before and after normalization using the package highcharter

Usage

compareNormalizationD_HC(
  qDataBefore,
  qDataAfter,
  keyId = NULL,
  conds = NULL,
  pal = NULL,
  subset.view = NULL,
  n = 1,
  type = "scatter"
)

Arguments

qDataBefore

A dataframe that contains quantitative data before normalization.

qDataAfter

A dataframe that contains quantitative data after normalization.

keyId

xxx

conds

A vector of the conditions (one condition per sample).

pal

xxx

subset.view

xxx

n

An integer that is equal to the maximum number of displayed points. This number must be less or equal to the size of the dataset. If it is less than it, it is a random selection

type

scatter or line

Value

A plot

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot
qDataBefore <- Biobase::exprs(obj)
conds <- Biobase::pData(obj)[, "Condition"]
id <- Biobase::fData(obj)[, 'Protein_IDs']
pal <- ExtendPalette(2)
objAfter <- wrapper.normalizeD(obj,
method = "QuantileCentering",
conds = conds, type = "within conditions"
)

n <- 1
compareNormalizationD_HC(
qDataBefore = qDataBefore,
qDataAfter = Biobase::exprs(objAfter), 
keyId = id, 
pal = pal, 
n = n,
subset.view = seq_len(n),
conds = conds)


prostarproteomics/DAPAR documentation built on Oct. 11, 2024, 12:03 p.m.