sub-.gMatrix: gMatrix

[.gMatrixR Documentation

gMatrix

Description

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

Usage

## S3 method for class 'gMatrix'
obj[i = NULL, j = NULL, with = TRUE, drop = FALSE, full = FALSE]

Arguments

obj

gMatrix object This is the gMatrix object to be subset

i

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

Value

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

Author(s)

Marcin Imielinski


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