sub-.gNode: gNode

[.gNodeR Documentation

gNode

Description

Overloads subset operator for gNode. Allows subsetting of gNode via index or snode.id (as a key). Also, allows for data.table style queries on gNode GRanges and corresponding metadata.

Usage

## S3 method for class 'gNode'
obj[i = NULL, with = TRUE, ...]

Arguments

obj

This is the gNode object to be subset

i

integer, logical, or expression in gNode metadata used to subset gNodes

Value

A new gNode that contains only the given id's

Author(s)

Joe DeRose


mskilab/gGnome documentation built on May 8, 2024, 4:25 p.m.