sub-.gEdge: gEdge

[.gEdgeR Documentation

gEdge

Description

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

Usage

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

Arguments

obj

This is the gEdge object to be subset

i

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

Value

A new gEdges that contains only the given id's

Author(s)

Joe DeRose


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