Skip to contents

Filtering MSGF data by number of missed cleavages.

Usage

filter_msgf_data_missed_cleavages(msnid, missed_cleavages_threshold = 2)

Arguments

msnid

(MSnID object) collated MSGF output

missed_cleavages_threshold

(numeric) Maximum acceptable number of missed cleavages. Default is 2.

Value

(MSnID object) filtered MSGF output

Examples

if (FALSE) {
path_to_MSGF_results <- system.file("extdata/global/msgf_output",
                                    package = "PlexedPiperTestData")
msnid <- read_msgf_data(path_to_MSGF_results)
msnid <- MSnID::correct_peak_selection(msnid)
show(msnid)
# At most 2 missed cleavages
msnid <-  filter_msgf_data_missed_cleavages(msnid, 2)
show(msnid)
}