rangePOS: Extract Hits in Range

View source: R/rapt_spec.R

rangePOSR Documentation

Extract Hits in Range

Description

rangePOS extracts the rows of a POS or ATO object whose mass is within the provided range. To count the number of hits within a mass range, use rangeCount.

Usage

rangePOS(pos, start, end)

Arguments

pos

The POS or ATO to be ranged. A data.frame created by readPOS or readATO

start

Numeric. The start of the mass range

end

Numeric. The end of the mass range

Value

A data.frame of the same structure as pos containing only hits in the provided range

See Also

Other ranging functions: rangeCount(), rngCount(), rngPOS()


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.