Hello all I need one help in plot ggplot Suppose I have file containing 1 column the terms like biological processes,molecular function, cellular components 2 column has count of gene having particular function 3 column David ID GOxxxxxx 4 column function of set of gene for eg RNase activity etc I want to plot ggplot having X axis David I'd Y axis count But my geom_bar colour should be different for molecular function, cellular components, biological processes How should I proceed Please help
I want to plot bar using ggplot with different color for biological processes molecular function and cellular process
I guess you know nothing about ggplot2.
a bar plot (
geom_col()
, which is a short cut ofgeom_bar(stat='identity')
) that mapid
tox
andcount
toy
and useontology
to color the bars.go to read some docs before posting a question with no idea of what you (and someone else) are talking about.
Ok thanks for your suggestions and answer