Box-Plot for selected gene among different samples using ggplot2
1
0
Entering edit mode
4.1 years ago
MikeIT86 • 0

Hi,

i have a " row counts" matrix characterized by 144 columns (samples) and 20437 rows (genes).

Samples are grouped in 5 different categories (W, E, R, Y, Z)

I would like to create a box-plot image using ggplot2 for one selected gene across different sample categories.

I need a detailed explanation step by step (R command script inluded) to perform this aim.

Please help me, i learned to use r three week ago

R RNA-Seq • 947 views
ADD COMMENT
1
Entering edit mode

I need a detailed explanation step by step (R command script inluded) to perform this aim.

Well, nobody here is going to spend an hour of their time to write that detailed explanation if you didn't show any effort on solving this yourself. We can put you on the right track or correct your mistakes, but we are volunteers and have also other things to do.

Please help me, i learned to use r three week ago

Then this is an excellent learning opportunity, or maybe you should start with easier problems. You won't learn programming overnight or in a couple of weeks. It's going to take you much longer and you just have to get on with it. It will get easier, but not by just copy-pasting code we write for you.

ADD REPLY
0
Entering edit mode

You can have a try yourself, here is a excellent tutorial for plotting using ggplot2: https://r-graphics.org/preface.html. A plenty of examples present in the book. I suggest you save the link in your browser, and read it frequently, if you really want to learn R and fix your problem.

ADD REPLY
1
Entering edit mode
4.1 years ago

I concur with everything Wouter has pointed out. That being said, the DESeq2 manual may be a good starting point to get you on the right track. And, of course, the R cookbook for how to plot distributions with ggplot2 in general.

ADD COMMENT

Login before adding your answer.

Traffic: 2039 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