filterHits-methods: Method to filter hits based on their rand and ion score.

Description Usage Arguments Methods

Description

These methods take two arguments to filter out search hits. When applied to an search hit, the method returns a logical indication whether the hit passes the filtering criteria. When applied to higher level objects, the method returns an object of the same class, where all SearchHits objects that did not pass the filtering have been removed.

Usage

1
 filterHits(object, rank, ionscore)

Arguments

object

see object types below.

rank

integer defining the highest hit rank to be kept, default is 1.

ionscore

numeric definig the lowest ion score to be kept, default is 20.

Methods

signature(object = "MSMSpepXML")

an object of class "MSMSpepXML"

signature(object = "SearchHit")

an object of class "SearchHit"

signature(object = "SearchResult")

an object of class "SearchResult"

signature(object = "SpectrumQuery")

an object of class "SpectrumQuery"


lgatto/RpepXML documentation built on May 21, 2019, 6:04 a.m.