Using R, how to create a barplot showing distribution of amino acid changes in somatic mutation.
Using R, how to create a barplot showing distribution of amino acid changes in somatic mutation.
I like dotchart()
for achieving that task. Take a look in seqinr cookbook:
By the way, I don't know why dot charts are less popular than bar charts, these are most of the time clearer. In addition, if you have several classes to compare, it avoids stacked bar charts which, to me, are unreadable.
I'm surprised: the intro only! He can also publish his kid's drawing to teach genomic landscape ;-) http://www2.unil.ch/comparativegenometrics/049906.pdf
Just import the table containing your data, and use the barplot function to generate the plot.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Do you already have the list of amino acid changes tabulated? If so, then this isn't really a bioinformatics question as much as a question of how to use R at a very basic level. I suggest you try one of the many good online tutorials on how to use R like this one or maybe sign up for an R course like this one.