gr.sprange: get range based on a field(s) to split by in elementMetadata...

gr.sprangeR Documentation

get range based on a field(s) to split by in elementMetadata of GRanges, or given vector

Description

split and get range of GRanges by field(s) if providing a variable not already within the GRanges, may need to use dynget(variable_name)

Usage

gr.sprange(
  gr,
  ...,
  ignore.strand = FALSE,
  pad = 0,
  return.grl = FALSE,
  sep = paste0(" ", rand.string(length = 8), " ")
)

Value

GRanges

Author(s)

Kevin Hadi


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