plotPrecursorHeatmap: Precursor Mass versus StartTime MS2 based hexagons

View source: R/rawDiag.R

plotPrecursorHeatmapR Documentation

Precursor Mass versus StartTime MS2 based hexagons

Description

Precursor Mass versus StartTime MS2 based hexagons

Usage

plotPrecursorHeatmap(x, method = "overlay", bins = 80)

Arguments

x

a data.frame object adhering to the specified criteria for the is.rawDiag function.

method

specifying the plot method 'trellis' | 'violin' | 'overlay'. The default is 'trellis'.

bins

number of bins in both vertical and horizontal directions. default is 80.

Value

a ggplot object.

Note

TODO: define bin with dynamically as h= 2x IQR x n e-1/3 or number of bins (max-min)/h

Author(s)

Christian Trachsel (2017)

References

  • rawDiag: \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1021/acs.jproteome.8b00173")},

  • rawrr: \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1021/acs.jproteome.0c00866")}

Examples

rawrr::sampleFilePath() |> readRaw() |> plotPrecursorHeatmap()

fgcz/rawDiag documentation built on May 5, 2024, 4:23 a.m.