A user tries to load a csv file to GRanges, I added the CSV support to toGRanges function.
If set to CSV, the function toGRanges will first check if the csv file have at least seqnames, start, end, strand columns.
I also included an example file at inst/extdata/peaks.csv.
Hi Jianhong,
A user tries to load a csv file to GRanges, I added the CSV support to
toGRanges
function. If set to CSV, the functiontoGRanges
will first check if the csv file have at leastseqnames, start, end, strand
columns.I also included an example file at inst/extdata/peaks.csv.
Let me know if questions.