YuLab-SMU / ChIPseeker

:dart: ChIP peak Annotation, Comparison and Visualization
https://onlinelibrary.wiley.com/share/author/GYJGUBYCTRMYJFN2JFZZ?target=10.1002/cpz1.585
224 stars 74 forks source link

Error Marker Downstream(<=300) in annotatePeak() #121

Open taotao0501 opened 4 years ago

taotao0501 commented 4 years ago

Hello Y-Uncle: I find a error marker in result of annotatePeak(). When I annotate my peaks.I find annotation result have a category called "Downstream(<=300)" as showing below:

#               Feature  Frequency
# 4             5' UTR  1.5396701
# 3             3' UTR  0.3613511
# 1           1st Exon  1.4768264
# 7         Other Exon  1.3668500
# 2         1st Intron  1.3040063
# 8       Other Intron  2.3095051
# 6 Downstream (<=300)  6.6457188
# 5  Distal Intergenic 84.9960723

But I think it should be "Downstream(<=3000)" according to your post
And I read your annotatePeak code in bref and didn't find relevant code. Hope you can patch the little bug. Thanks!