plotMV: Plot mean-variance relationship

View source: R/func.R

plotMVR Documentation

Plot mean-variance relationship

Description

plotMV makes a plot with variance of log-intensity vs mean of log-intensity.

Usage

plotMV(
  pdat,
  with.loess = FALSE,
  bins = 80,
  xmin = 5,
  xmax = 10,
  ymin = 7,
  ymax = 20,
  with.n = FALSE,
  mid.gradient = 0.3,
  text.size = 10
)

Arguments

pdat

Peptide or protein proteusData object.

with.loess

Logical. If true, a loess line will be added.

bins

Number of bins for binhex

xmin

Lower limit on x-axis

xmax

Upper limit on x-axis

ymin

Lower limit on y-axis

ymax

Upper limit on y-axis

with.n

Logical to add a text with the number of proteins to the plot

mid.gradient

A parameter to control the midpoint of colour gradient (between 0 and 1)

text.size

Text size on axes

Value

A ggplot object.

Examples

library(proteusLabelFree)
data(proteusLabelFree)
plotMV(prodat, with.loess=TRUE)


bartongroup/Proteus documentation built on April 22, 2023, 5:33 a.m.