Dear all, As you can see from the attachment I'm using R to automatically annotate peptide fragmentation mass spectra, which are represented by impulse plots. I'd like to poll you on approaches of how to deal as generally as possible with the two biggest annotation issues I run into: 1) very close annotated masses (impulses) with similar y-axis dimensions - resulting in overlapping labels 2) very close annotated masses with widely differing y-axis dimensions - resulting in the label for the smaller one partially overplotting the impulse of the larger one
Both cases can be seen in the appended png: for 1) see x of aprox. 1100, for 2) x of aprox. 575 If one does this manually one would write the labels somewhere where there's plenty of space and then connect them with lines to the impulses/masses they actually represent ... Any insight in how to make this pretty(er) automatically is highly appreciated. Thanks, Joh
<<attachment: Spectrum.png>>
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.