subsetbyIntIdx-methods: subset by integer index

Description Usage Arguments Value

Description

Filter peaks to keep or discard. Order of full/subset of original bed rows specified in the integer specified in IntIdx. The function raises an error, if the length of index vector is longer or equal to the number of peaks to be kpt. The function also raises an error, if the max integer position is larger than the lagest indexable postion of peaks to be kpt.

Usage

1
2
3
4
subsetbyIntIdx(obj, IntIdx, invert)

## S4 method for signature 'info,numeric,logical'
subsetbyIntIdx(obj, IntIdx, invert)

Arguments

obj

An info object

IntIdx

An integer/numeric vector specifying index of currently kept peaks to be filtered out from the current point.

invert

when TRUE, specifies selecting the rows, or otherwise FALSE, specifies the complement rows.

Value

An updated info object


ericaenjoy3/TdAvg documentation built on May 8, 2019, 3:45 p.m.