This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Plotting multiple genes across 4- species

I have a data looks like this This an expression values for several genes (the ensemble IDs) across 4-species of animal. I want to use ggplot to make a line plot for each gene across the species, so that species names are on the X axis and different lines will correspond to different genes

Any help ?

rna seq

Please provide data always using dput() and not as screenshot. Here, move the rownames to a column and then use reshape2::melt() to bring data into long form. From there it should be straight-forward, please try something, one can then help debug. Biostars is generally not a code writing service.

Well, what have you tried? You presumably googled and found something that you thought might be close to what you want, right? And you tried that? Well, what was that code, and why didn't it work? What about the second bit of code you googled for?

0 answers

No answers yet.

Log in to answer this question.