{"id":484,"date":"2025-07-10T20:56:01","date_gmt":"2025-07-10T20:56:01","guid":{"rendered":"https:\/\/open.qtlmax.com\/guide\/?p=484"},"modified":"2025-07-11T00:40:15","modified_gmt":"2025-07-11T00:40:15","slug":"calculating-admixture-and-plotting-admixture-bar-chart","status":"publish","type":"post","link":"https:\/\/open.qtlmax.com\/guide\/index.php\/2025\/07\/10\/calculating-admixture-and-plotting-admixture-bar-chart\/","title":{"rendered":"How to calculate admixture and plotting admixture bar chart"},"content":{"rendered":"\n<p>Figure 1 shows the Admixture tab page selected. On this tab page, you can choose the <strong>K values<\/strong>. The <strong>K value<\/strong> ensures that the entire population will be classified into <strong>K groups<\/strong>. If you want to iterate calculating the Admixture analyses from one K value to another greater one, please ensure that the given check box is checked, and select two K values.<\/p>\n\n\n\n<figure class=\"wp-block-image 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_006-1.png\" alt=\"\" class=\"wp-image-559\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_006-1.png 1007w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_006-1-300x286.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_006-1-768x733.png 768w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n\n\n\n<p>(Figure 1)<\/p>\n\n\n\n<p>Figure 2 shows the <strong>admixture analysis completed<\/strong>. You can see the relevant messages displayed.<\/p>\n\n\n\n<figure class=\"wp-block-image 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_007.png\" alt=\"\" class=\"wp-image-561\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_007.png 1007w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_007-300x286.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-5.0_007-768x733.png 768w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n\n\n\n<p>(Figure 2)<\/p>\n\n\n\n<p>Figure 3 shows the <strong>Admixture Bar Chart tab page<\/strong> selected within QTLmax Workbench. This tab page offers many configuration options. If you don&#8217;t want to manually select each setting, simply click the <strong>[Load demo] button<\/strong>. You&#8217;ll see that most of the settings are configured automatically.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_002-1024x590.png\" alt=\"\" class=\"wp-image-563\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_002-1024x590.png 1024w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_002-300x173.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_002-768x443.png 768w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_002-1536x885.png 1536w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_002.png 1798w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>(Figure 3)<\/p>\n\n\n\n<p>After replacing the demo data with your own, you&#8217;re free to change the settings to your desired values. You&#8217;ll also need to <strong>assign colors for each group<\/strong>. Once all your settings are complete, click the <strong>[Visualizer] button<\/strong>. You&#8217;ll then see the admixture plot generated. The &#8220;Sorting by group&#8221; combo box has two options:<\/p>\n\n\n\n<p>(1) <strong>not sorted<\/strong> <\/p>\n\n\n\n<p>(2) <strong>sorted<\/strong><\/p>\n\n\n\n<p>Figure 4-1 shows the admixture plot when it&#8217;s not sorted, while Figure 4-2 displays the admixture plot in a sorted arrangement.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_003-1024x590.png\" alt=\"\" class=\"wp-image-565\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_003-1024x590.png 1024w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_003-300x173.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_003-768x443.png 768w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_003-1536x885.png 1536w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_003.png 1798w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>(Figure 4-1)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_004-1024x590.png\" alt=\"\" class=\"wp-image-566\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_004-1024x590.png 1024w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_004-300x173.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_004-768x443.png 768w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_004-1536x885.png 1536w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_004.png 1798w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>(Figure 4-2)<\/p>\n\n\n\n<p>On the <strong>&#8220;Data table&#8221; tab page<\/strong>, you can view the data corresponding to the admixture plot displayed in the figure. (See Picture 5)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_005-1024x590.png\" alt=\"\" class=\"wp-image-568\" srcset=\"https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_005-1024x590.png 1024w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_005-300x173.png 300w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_005-768x443.png 768w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_005-1536x885.png 1536w, https:\/\/open.qtlmax.com\/guide\/wp-content\/uploads\/2025\/07\/QTLmax-Workbench_005.png 1798w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>(Figure 5)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Figure 1 shows the Admixture tab page selected. On this tab page, you can choose the K values. The K value ensures that the entire population will be classified into K groups. If you want to iterate calculating the Admixture analyses from one K value to another greater one, please ensure that the given check [&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-484","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\/484","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=484"}],"version-history":[{"count":18,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"predecessor-version":[{"id":633,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/posts\/484\/revisions\/633"}],"wp:attachment":[{"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/open.qtlmax.com\/guide\/index.php\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}