plotInjectionTime: Plot Injection Time

View source: R/rawDiag.R

plotInjectionTimeR Documentation

Plot Injection Time

Description

shows the injection time density of each mass spectrometry file as a violin plot. The higher the maximum number of MS2 scans is in the method, the more the density is shifted towards the maximum injection time value.

Usage

plotInjectionTime(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() |> readRaw() |> plotInjectionTime()

protViz/rawDiag documentation built on April 29, 2024, 2:25 a.m.