pub fn generate_precursor_spectrum(
sequence: &str,
charge: i32,
peptide_id: Option<i32>,
) -> MzSpectrumExpand description
generate the precursor spectrum for a given peptide sequence and charge using isotope convolutions
Arguments:
sequence- peptide sequencecharge- charge of the peptide
Returns:
MzSpectrum- precursor spectrum