Hello,
I have hg19 Bismark mapped RRBS data that I would like to use edgeR on following the F1000 workflow (https://f1000research.com/articles/6-2055/v2 ). When I apply the function edgeR::nearestTSS to annotate my site-level data to compute the distance to the nearest gene's TSS, it appears to return hg38 based annotations. Looking at the nearestTSS code more closely, it seems to pull an object called CHRLOC from org.Hs.eg.db, but it isn't clear what reference genome (e.g. hg19 or hg38) that uses.
Main question: how does one interpret Distance output from nearestTSS if the reference genome is unspecified, and how does one specify it?
Thanks, zo
Thank you for the quick answer. Any thoughts on how to best proceed with using nearestTSS on hg19 RRBS data?