Title: | Read bigWig and bigBed Files |
---|---|
Description: | Read bigWig and bigBed files using "libBigWig" <https://github.com/dpryan79/libBigWig>. Provides lightweight access to the binary bigWig and bigBed formats developed by the UCSC Genome Browser group. |
Authors: | Jay Hesselberth [aut, cre], RNA Bioscience Initiative [fnd, cph], Devon Ryan [cph] |
Maintainer: | Jay Hesselberth <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.0.9000 |
Built: | 2025-01-08 05:26:09 UTC |
Source: | https://github.com/rnabioco/cpp11bigwig |
Read data from bigBed files.
read_bigbed(bbfile, chrom = NULL, start = NULL, end = NULL, convert = TRUE)
read_bigbed(bbfile, chrom = NULL, start = NULL, end = NULL, convert = TRUE)
bbfile |
filename for bigBed file |
chrom |
read data for specific chromosome |
start |
start position for data |
end |
end position for data |
convert |
convert bigBed values to individual columns |
tibble
https://github.com/dpryan79/libBigWig
https://github.com/brentp/bw-python
bb <- system.file("extdata", "test.bb", package = "cpp11bigwig") read_bigbed(bb) read_bigbed(bb, chrom = "chr10")
bb <- system.file("extdata", "test.bb", package = "cpp11bigwig") read_bigbed(bb) read_bigbed(bb, chrom = "chr10")
Read data from bigWig files.
read_bigwig(bwfile, chrom = NULL, start = NULL, end = NULL, as = NULL)
read_bigwig(bwfile, chrom = NULL, start = NULL, end = NULL, as = NULL)
bwfile |
filename for bigWig file |
chrom |
read data for specific chromosome |
start |
start position for data |
end |
end position for data |
as |
return data as a specific type.
The default is a tibble ( |
tibble
https://github.com/dpryan79/libBigWig
https://github.com/brentp/bw-python
bw <- system.file("extdata", "test.bw", package = "cpp11bigwig") read_bigwig(bw) read_bigwig(bw, chrom = "10") read_bigwig(bw, chrom = "1", start = 100, end = 130) read_bigwig(bw, as = "GRanges")
bw <- system.file("extdata", "test.bw", package = "cpp11bigwig") read_bigwig(bw) read_bigwig(bw, chrom = "10") read_bigwig(bw, chrom = "1", start = 100, end = 130) read_bigwig(bw, as = "GRanges")