I have a list of names sorted, like below:
ACVR2B
ADAM19
ADAM29
ADAM29
ADAMTS1
ADAMTS1
ADAMTS1
ADAMTS12
ADAMTS16
ADAMTS16
ADAMTS16
ADAMTS17
ADAMTS17
ADAMTSL1
ADCY10
would like to plot them as a histogram. It is very easy when these are values but with characters how can I do it in R or in open office?
Thank you
Try plotting the result of
table()
. The functiontable()
computes the cross-tabulation frequency, which is exactly what you want.To plot the sorted values, try this: