Three gotchas when using R for Genomic data analysis
During my daily work with R for genomic data analysis, I encountered several instances that R gives me some (bad) surprises.
1. The devil 1 and 0 coordinate system
some files such as
bed file is 0 based. Two genomic regions: