Question: R plot with different point in graph
0
gravatar for Korsocius
2.9 years ago by
Korsocius60
Korsocius60 wrote:

Dear all,

I need some help, I would like to plot data, where will be on x-axis 1 2 3 4 5 6 7 and on Y-axis will be for each chr 13,chr18 and chr21 numbers. I could see attached table:
 

  1 2 3 4 5 6 7
chr 13 0.06 1.05 0.1 -1 -1.1 1.5 0.5
chr 18  0.05 7.2 0.6 -0.4 -1.7 0.12 1.1
chr 21 -0.3 -0.59 -0.02 -0.7 1.9 -0.3 -0.9

where variables for chr 13 will be with mark x, for chr 18 with different mark and for chr 21 different mark (point in graph).

Thank you for you help

Filip

plot R • 779 views
ADD COMMENTlink written 2.9 years ago by Korsocius60
2
gravatar for iraun
2.9 years ago by
iraun3.2k
Norway
iraun3.2k wrote:

Have you tried something? I think that searching a bit on google you'll find the solution to this task, and then, if you get stuck at some point, you can come back here and ask. You can use the basic plot package of R to do the graph (here you can see some examples: http://www.harding.edu/fmccown/r/) or you can try ggplot (but I think that is more difficult if you're begginer).

ADD COMMENTlink written 2.9 years ago by iraun3.2k
1

It is done, thank you for this web with example... It was really easy...

ADD REPLYlink written 2.9 years ago by Korsocius60
1

Glad to help :)

ADD REPLYlink written 2.9 years ago by iraun3.2k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1085 users visited in the last hour