gr_construct_by: adding on by field to seqnames for more efficient by queries

gr_construct_byR Documentation

adding on by field to seqnames for more efficient by queries

Description

Uses by field from metadata column to insert into seqnames This is useful for more efficient queries findoverlaps queries between 2 ranges when we want to stratify the query with a "by" field. This feeds into the gr.findoverlaps family of gUtils tools.

Usage

gr_construct_by(x, by = NULL, na.seql = TRUE)

Value

A GRanges with the by metadata field attached to the seqnames

Author(s)

Kevin Hadi


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.