Take a peakset object and remove fields which are not part of the core mzrollDB schema and ensure that all required fields are present

peakset_format_for_mzroll(peakset)

Arguments

peakset

generated by extract_peakset

Value

a peakset