read_regions: Read regions from a data.frame, a file or a connection.
Description
Read regions from a data.frame, a file or a connection.
Usage
read_regions(x)
Arguments
x
data.frame or character, the regions in study.
A data.frame with three columns (chr/start/end), a file path or a
connection with three columns (chr/start/end) without column names.
Return an empty data.frame if "", "NULL" or NULL.