sub-.gPair: gPair

[.gPairR Documentation

gPair

Description

Overloads subset operator for gPair. Allows subsetting of gPair via index. Also, allows for data.table style queries on gPair GRangesList and corresponding metadata.

Usage

## S3 method for class 'gPair'
obj[i, j, with = TRUE]

Arguments

obj

gPair object This is the gPair object to be subset

i

integer, logical, or expression in gPair metadata used to subset gPair

Value

A new gPair object that contains only the given id's

Author(s)

Marcin Imielinski


mskilab/GxG documentation built on April 12, 2025, 5:32 p.m.