Entering edit mode
2.4 years ago
mohsamir2016
▴
30
I have a data looks like this . 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 ?
Please provide data always using
dput()
and not as screenshot. Here, move the rownames to a column and then usereshape2::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?