tidy_mzR_extract_mzs.Rd
Open a specified file extract a compound of interest.
tidy_mzR_extract_mzs(
tidy_mzR,
clamr_config,
mz_compounds,
add_missing_scans = FALSE,
plot_type = "none"
)
output of tidy_mzR_from_msfile
a named list of mass spec parameters with special formatting of instrument tolerances generated by build_clamr_config
.
m/z(s) to query.
include scans with no signal as zeros in eic
should a plot be generated; options are: none, print and return.
a list containing:
eic - ion counts of mz_compounds in full scan data
fragmentation_events - meta information for MS2+ scans with mz_compounds as a precursorMz
fragmentation_data - masses and ic of MS2+ scans
summary_plot (optionally) - a summary plot will be added if plot_type
= "return"