{"id":435,"date":"2025-07-10T20:08:18","date_gmt":"2025-07-10T20:08:18","guid":{"rendered":"https:\/\/open.qtlmax.com\/guide\/?p=435"},"modified":"2025-07-11T00:40:35","modified_gmt":"2025-07-11T00:40:35","slug":"performing-a-genomic-control-computation","status":"publish","type":"post","link":"https:\/\/open.qtlmax.com\/guide\/index.php\/2025\/07\/10\/performing-a-genomic-control-computation\/","title":{"rendered":"How to perform a genomic control computation"},"content":{"rendered":"\n<p>Figure 1 displays the QQ plot generated from the <strong>P-values<\/strong> obtained by performing GLM-GWAS calculations with demo data. As you can see, the points on the plot significantly deviate from the red diagonal line, moving sharply upwards and to the right with a very large slope. This phenomenon is referred to as <strong>genomic inflation<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"http:\/\/help.qtlmax.com\/kr\/data\/editor\/2304\/bce11bba2d87b927a4d89c549c343327_1682186086_6007.jpg\" alt=\"\" style=\"width:840px;height:auto\"\/><\/figure>\n\n\n\n<p>(Figure 1)<\/p>\n\n\n\n<p>Figure 2 shows the Genomic Control tab after completing the genomic control calculation. This was done by selecting the &#8220;<strong>pvalues<\/strong>&#8221; file (a result file generated after either GLM-GWAS or LMM-GWAS analysis) and clicking the <strong>[Execute]<\/strong> button. The file generated from the genomic control calculation is saved in the same folder as the input file (<strong>pvalues<\/strong>).<\/p>\n\n\n\n<p>Here&#8217;s an explanation of the files created by the genomic control calculation:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>gc_pvalues<\/strong>: This file contains the <strong>P-values<\/strong> that have been adjusted through the genomic control calculation.<\/li>\n\n\n\n<li><strong>lambda<\/strong>: This value (ranging from 0-1) indicates the <strong>strength of genomic inflation<\/strong>. A lambda value closer to 1 means the genomic inflation is stronger. Conversely, a value closer to 0 indicates that the P-values better follow a chi-squared distribution with 1 degree of freedom.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1007\" height=\"961\" src=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_010-1.png\" alt=\"\" class=\"wp-image-575\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_010-1.png 1007w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_010-1-300x286.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_010-1-768x733.png 768w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n<\/div>\n\n\n<p>(Figure 2)<\/p>\n\n\n\n<p>Figure 3 shows the project folder after the genomic inflation calculation. You can see that the <strong>gc_pvalues<\/strong> file and the <strong>lambda<\/strong> file are now present alongside the existing GWAS result files.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"http:\/\/help.qtlmax.com\/kr\/data\/editor\/2304\/bce11bba2d87b927a4d89c549c343327_1682178853_0658.png\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<p>(Figure 3)<\/p>\n\n\n\n<p>Figure 4 shows the newly drawn QQ plot using the <strong>adjusted P-values<\/strong> contained in the &#8220;<strong>gc_pvalues<\/strong>&#8221; file. As you can see, the P-values now follow the red diagonal line relatively well.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"http:\/\/help.qtlmax.com\/kr\/data\/editor\/2304\/bce11bba2d87b927a4d89c549c343327_1682186018_0366.jpg\" alt=\"\" style=\"width:840px;height:auto\"\/><\/figure>\n\n\n\n<p>(Figure 4)<\/p>\n\n\n\n<p>Figure 5 shows the <strong>lambda value<\/strong> (lambda GC = 6.515145) calculated during the genomic inflation process.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"http:\/\/help.qtlmax.com\/kr\/data\/editor\/2304\/bce11bba2d87b927a4d89c549c343327_1682186754_669.png\" alt=\"\"\/><\/figure>\n<\/div>\n\n\n<p>(Figure 5)<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Figure 1 displays the QQ plot generated from the P-values obtained by performing GLM-GWAS calculations with demo data. As you can see, the points on the plot significantly deviate from the red diagonal line, moving sharply upwards and to the right with a very large slope. This phenomenon is referred to as genomic inflation. (Figure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-guide"],"_links":{"self":[{"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":10,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":634,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/posts\/435\/revisions\/634"}],"wp:attachment":[{"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}