-
assigned issue to
shazam::plotMutability() misaligns mutability bars and nucleotide motifs on "bar" style
Motifs (or nucleotide bars below) and mutability bars are not aligned correctly on the X axis. Mutability starts to be plot from coordinate 1 but nucleotide motifs starts on 0 (zero). Consequently, every mutability bar is shifted to right. i also suggest a small change that will fix this. See the 2-lines of fix on the attached pic ("bugfix.jpg") since I was not allowed to do a pull request. See the errors on the attached "plotMutability-bug.svg" picture and the fixed version on "plotMutability-fixed.svg".
This will not fix the rightmost nucleotide bar plotted with double width. It is still buggy.
Comments (3)
-
-
Thanks for reporting @Peter Blazso . The issue is with the alignment of the bars. I pushed a fix in #48cc707, also for the hedgehog plot. The rightmost nucleotide looks good to me with this fix. Please update shazam and let me know it that works for you.
-
- changed status to resolved
Reopen if needed
- Log in to comment