Learn R Programming

valr (version 0.7.0)

read_bigwig: Import and convert a bigwig file into a valr compatible tbl

Description

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 "+")

Examples

Run this code
if (FALSE) {
if (.Platform$OS.type != "windows") {
  bw <- read_bigwig(valr_example("hg19.dnase1.bw"))
  head(bw)
}
}

Run the code above in your browser using DataLab