tests/testthat/test-plot_peptide_mass_measurement.R

peptide_mass_plot <- plot_peptide_mass_measurement(t_dat)

test_that("plot_peptide_mass_measurement class is right",
          expect_is(
            peptide_mass_plot,
            "ggplot"
          )
)

test_that("plot parameters",
          vdiffr::expect_doppelganger("Peptide Mass Measurement Plot", peptide_mass_plot))

Try the HaDeX2 package in your browser

Any scripts or data that you put into this service are public.

HaDeX2 documentation built on Feb. 9, 2026, 5:07 p.m.