R plot with different point in graph
1
0
Entering edit mode
9.9 years ago
Korsocius ▴ 260

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 chr13, 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 • 2.2k views
ADD COMMENT
2
Entering edit mode
9.9 years ago
iraun 6.2k

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 beginner).

ADD COMMENT
1
Entering edit mode

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

ADD REPLY
1
Entering edit mode

Glad to help :)

ADD REPLY

Login before adding your answer.

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