jianhong / ChIPpeakAnno

11 stars 4 forks source link

Add CSV support toGRanges #20

Closed hukai916 closed 1 year ago

hukai916 commented 1 year ago

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 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.

Let me know if questions.