Plotting multiple genes across 4- species
0
0
Entering edit mode
21 months ago
mohsamir2016 ▴ 30

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 • 588 views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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?

ADD REPLY

Login before adding your answer.

Traffic: 1378 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6