Description Usage Arguments Value Examples
View source: R/myGRBasicFunctions.R
create a GenomicRanges object from a BED
1 | grFromBedFile(fn)
|
fn |
a path to the BED file (it can be gzipped) (0-based half open) |
a Genomic ranges with intervals (1-based closed)
1 2 3 4 5 | tests_dir <- system.file("tests", package="usefulLDfunctionsGR")
test_bed <- file.path(tests_dir, "test6colWithHeader.bed")
# Load the bed with no header in a dataframe
grBED <- grFromBedFile(test_bed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.