Hello,
I want to create a Basic ridgeline plot
on my data, which are from a GO:enrichment analysis.
Let's say that I charge on R my file, which is called simply "a".
This is a.
It has five columns, one with the ID of the pathway, one called Description in which there is the name of the pathway, one called GeneRatio, in which you have the ratio of the number of my genes found on the pathway divided by the total number of genes in the pathway, the pvalue of the pathway and a column called count, in which you have the number of the my genes found in the pathway.
So, when I run the code:
ggplot(a, aes(x = GeneRatio, y = Description, fill = Description)) +
geom_density_ridges() +
theme_ridges() +
theme(legend.position = "none")
I have absolutely nothing
And me... I would like to make a Basic ridgeline of my data, with the GeneRatio and ideally colouring the curbes I obtain according to their pvalue, but I obtain ABSOLUTELY nothing. What am I doing so wrong?
I hope you can help