rngPOS: Extract Hits in RRNG

View source: R/rapt_spec.R

rngPOSR Documentation

Extract Hits in RRNG

Description

rngPOS extracts the rows of a POS or ATO object whose mass is within the ranges of the provided RRNG. To count the hits within a RRNG, use rngCount

Usage

rngPOS(pos, rng)

Arguments

pos

The POS or ATO from which to extract hits. A data.frame created by readPOS or readATO

rng

The RRNG ranges to apply. A data.frame created by readRRNG

Value

A data.frame of the same structure as pos, with an appended column called "mark" that carries the name of the ion

See Also

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


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