tpoorten / dotPlotly

Generate an interactive dot plot from mummer or minimap alignments
MIT License
190 stars 53 forks source link

zero position #2

Open njaupan opened 6 years ago

njaupan commented 6 years ago

Dear Tom,

I noticed that you add start and end coordinates to text, however, zero position of chromosome 1 is still missing with edited version.

Sincerely, Ivy

wjwei-handsome commented 3 years ago

Hi njaupan,

I meet the same problem, but i edited the script like this: scale_x_continuous(breaks = cumsum(as.numeric(chromMax)), labels = levels(alignments$refID),expand = c(0,0)) scale_y_continuous(breaks = yTickMarks, labels = substr(levels(alignments$queryID), start = 1, stop = 20),expand = c(0,0)) It will solve the problem.

Sincerely, wjwei

njaupan commented 3 years ago

Thank you wjwei and it really works!!!