apply_bigwig_seqinfo: Apply seqinfo from bigwig to GRanges

Description Usage Arguments Value

View source: R/data_handling.R

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

1
2
3
4
5
6
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 July 18, 2021, 5:09 p.m.