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

# S3 method for Junction
[(obj, i, j, with = TRUE)

Arguments

obj

Junction object This is the Junction object to be subset

i

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

Value

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