gSubset: gSubset

gSubsetR Documentation

gSubset

Description

Subset a gChain

Make smaller gChain that contains only the seqnames given by xnames and/or ynames.

Usage

gSubset(gc, xnames = NULL, ynames = NULL, x.or.y = FALSE)

Arguments

gc

gChain to subset

xnames

character vector that has seqnames of links(gc)$x to keep

ynames

character vector that has seqnames of links(gc)$y to keep

x.or.y

Links with hits in xnames OR ynames included. Default FALSE (i.e. AND)

Value

subsetted gChain


mskilab/gChain documentation built on Sept. 28, 2022, 3:45 p.m.