Changes

From Genome Analysis Wiki
Jump to navigationJump to search
Line 27: Line 27:  
* Count the number of markers being examined. Let's call this number M.
 
* Count the number of markers being examined. Let's call this number M.
 
* Sort observed p-values, from smallest to largest.
 
* Sort observed p-values, from smallest to largest.
* Match each expected p-value with an expected p-value, which is simply its rank divided by M.
+
* Match each expected p-value with an expected p-value, which is simply its rank divided by M+1.
 +
* Because we are most interested in the smallest p-value, transform observed and expected p-values using the -log() function.  
 
* Plot expected p-values along the X axis and actual p-values along the X-axis.
 
* Plot expected p-values along the X axis and actual p-values along the X-axis.
  

Navigation menu