append_by_field_from_seqnames | R Documentation |
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.
append_by_field_from_seqnames(x, by = NULL)
GRanges with seqnames keyed with by field with metadata column(s) appended.
Kevin Hadi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.