append_by_field_from_seqnames: Appending by field in seqnames to metadata column

append_by_field_from_seqnamesR Documentation

Appending by field in seqnames to metadata column

Description

For use downstream of gr_construct_by. By field that is keyed onto the original seqnames can be rescued and re-appended to a GRanges output. For example if you do GenomicRanges set operations like in GenomicRanges::setdiff(), ::union(), or ::intersect(), the metadata fields will be stripped. But the by field can be re appended as a column.

Usage

append_by_field_from_seqnames(x, by = NULL)

Value

GRanges with seqnames keyed with by field with metadata column(s) appended.

Author(s)

Kevin Hadi


mskilab/gUtils documentation built on March 5, 2025, 11:51 p.m.