Dear all.
 
I need to draw a scatter plot of 23 chromosome copy numbers (y axes) against
chromosome and physical location within each chromosome in one plot.  The
data matrix looks as below:
 
chr  location copy_num
 1   118345 1.320118
 1   3776202 1.133879
 1   4798845 0.989997
 1   5350951 1.100967
. more data here
.
.
 2    118345 2.459119
 2    157739 1.915919
 2   1530065 1.924372
 2   1530235 3.138177
.
.
.
more data here
23   118345     2.454111
23   5142838 1.719263
23   5163858 1.228840
 
The x axes of the plot should have chromosome label from 1 to 23 and
physical location within each chromosome label.  The physical location
values start from each chromosome (not necessaryly same value).  That means
that x axes will have label (tick) for chromosome 1, within chromosome 1
there are physical location from whatever value to the largest physical
location value for chromosome 1, then chromosome 2 label, within chromosome
2 label physical location increase from whatever value to the largest
physical location value for chromosome 2...... till chromosome 23.  
 
Is it possible to draw this type of plot in R? and How to draw it?
 
Thanks in advance
 
Aiguo Li, Ph.D.
Bioinformatician & Molecular biologist
NCI/NIH
 
 
 

 

        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to