0

I'm trying to get some graphical view of the amino acid composition and frequencies in a peptide library.

I know how to create a basic histogram with R but I often see this kind of plot in publication

Can I achieve something similar with R?

zx8754
  • 46,390
  • 10
  • 104
  • 180
Coline.S
  • 1
  • 1
  • That link shows a lot of different plot types. Plus your question is a little vague, why don't you show how you have done it already using standard R plotting and then ask how to improve it from there to look more like what you're looking for? You might want to consider ggplot2 – Single Entity Apr 04 '17 at 09:21

1 Answers1

0

That type of figure is normally produced using WebLogo, or similar software.

There's an R wrapper for WebLogo. It's a few years old, I don't know how well it works.

There is also ggseqlogo (more recent, looks pretty good) and in the Bioconductor package, seqLogo; I don't know if the latter handles peptides.

neilfws
  • 29,020
  • 5
  • 49
  • 59