nSearchHits-methods: Returns the number of search hits.

Description Methods

Description

These methods return the number of search hits that have been identified for one or several search results. The class of the returned object will depend on the argument provided, as described below. Note that simplification is attempted by 'sapply'.

Methods

signature(object = "SearchResult")

an object of class "SearchResult" is used as parameter and an integer is returned.

signature(object = "SpectrumQuery")

an object of class "SpectrumQuery" is used as parameter and an integer of length equal to the number of search results is returned.

signature(object = "MSMSpepXML")

an object of class "MSMSpepXML" is used as parameter and a list is returned.


RpepXML documentation built on May 2, 2019, 5:15 p.m.