apply_bigwig_seqinfo: Apply seqinfo from bigwig to GRanges

View source: R/data_handling.R

apply_bigwig_seqinfoR Documentation

Apply seqinfo from bigwig to GRanges

Description

Applies the seqinfo from a bigwig to any other object that has a valid seqinfo method matches seqlevels, and prunes out of range entries

Usage

apply_bigwig_seqinfo(
  x,
  bigwig_file,
  drop_unused = TRUE,
  pruning_mode = c("error", "coarse", "fine", "tidy")
)

Arguments

x

an object trhat has a seqinfo method (e.g. GRanges)

bigwig_file

a string pointing to a bigwig file

drop_unused

boolean drop unused seqlevels

pruning_mode

see pruning.mode from seqinfo

Value

a named vector of the polymerase ratios


CshlSiepelLab/tuSelecter2 documentation built on June 2, 2025, 7:09 a.m.