importBedlike
importBedlike.Rd
Imports a bed-like file as a GRanges object. Uses `rtracklayer` import functions if possible, and falls back onto an import that's not format-committed otherwise.
Arguments
- x
The path to a bed or bed-like file (can be gzipped)
- ...
passed to
fread
Examples
# example bed file:
filepath <- system.file("extdata/example_peaks.bed",
package="epiwraps")
b <- importBedlike(filepath)