niuhuifei / popoolation2

Automatically exported from code.google.com/p/popoolation2
2 stars 2 forks source link

Strange Patterns when graphing outputs #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello I am writing because I get a strange pattern when I visualize data output 
from Popoolation2 in R.  

I am comparing two populations.  I use the allelefreq_pwc and allelefreq_rc 
output files from the command perl <popoolation2-path>/snp-frequency-diff.pl to 
graph the major allele frequency in the first population against the allele 
frequency difference between the two populations..I would expect for this graph 
to look quite random however I see quite a few, and distinctive, vertical and 
horizontal lines.  This data set is not the only one where we have seen 
patterns of this nature.  What causes these patterns in the data.  I have 
attached the image of the graph

Best, 
Alyssa

Original issue reported on code.google.com by alyssa.w...@gmail.com on 10 Dec 2014 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by alyssa.w...@gmail.com on 10 Dec 2014 at 1:49

Attachments:

GoogleCodeExporter commented 9 years ago
wow weird, its probably something because of the digital nature of the data, so 
you have distinct coverage categories, ie 5, 6, 7,8 so the major allele 
frequency usually falls into a some distinct categories eg (1/5, or 3/17), to a 
lesser extent, but still, the allele frequency differences are also somewhat 
categorized.

Original comment by RoKof...@gmail.com on 24 Jan 2015 at 10:55