read_regions_bed.Rd
Read in regions from a bed file (no header allowed).
read_regions_bed(bed_file)
bed_file | path to the standard headerless bed file |
---|
a tibble with region name,chromosome, start coord, end coord (in VCF 1-based coords) and region size
Only the first three columns will be read in. chromosome names should begin with 'chr'. The returned coordinates are in the VCF coordinates (1-based).
Marcin Kierczak <marcin.kierczak@scilifelab.se>