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?
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?
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.