Description Usage Arguments Value See Also Examples
This is a lightweight wrapper to the import family of functions defined in rtracklayer.
1 | read_wig(file, genome_info = NULL, overlap_ranges = NULL)
|
file |
A path to a file or a connection. |
genome_info |
An optional character string or a Ranges object that contains information about the genome build. For example the USSC identifier "hg19" will add build information to the returned GRanges. |
overlap_ranges |
An optional Ranges object. Only the intervals in the file that overlap the Ranges will be returned. |
A GRanges object
A GRanges object
1 2 3 4 5 | test_path <- system.file("tests", package = "rtracklayer")
test_wig <- file.path(test_path, "step.wig")
gr <- read_wig(test_wig)
gr
gr <- read_wig(test_wig, genome_info = "hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.