Skip to contents

This function will output a 5 column tibble with zero-based chrom, start, end, score, and strand columns.

Usage

read_bigwig(path, set_strand = "+")

Arguments

path

path to bigWig file

set_strand

strand to add to output (defaults to "+")

Note

This functions uses rtracklayer to import bigwigs which has unstable support for the windows platform and therefore may error for windows users (particularly for 32 bit window users).

Examples

if (FALSE) { # \dontrun{
if (.Platform$OS.type != "windows") {
  bw <- read_bigwig(valr_example("hg19.dnase1.bw"))
  head(bw)
}
} # }