plotMzDistribution: mZ Distribution Plot of Ms2 Scans

plotMzDistributionR Documentation

mZ Distribution Plot of Ms2 Scans

Description

draws precursor mass vs retention time for each MS2 scan in the raw file.

Usage

plotMzDistribution(x, method = "trellis")

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'.

Value

a ggplot object.

Author(s)

Christian Trachsel (2017), Christian Panse (2023)

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() |> rawDiag::readRaw() -> S
plotMzDistribution(S)

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