Read out the ms2 data exactly as it was captured from the instrument.

extract_fragments(ms2scan)

Arguments

ms2scan

a single ms2 scan, as produced by nested_peakgroup_features$scans[[x]]