[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-703131-105":59,"doc-detail-703131-en":122,"doc-similar-703131":158},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":115,"head_meta":117,"extra_data":119,"updated_unix":121},105,"en","discriminant-analysis-of-principal-components-dapc-using-adegenet-200-tutorial","Discriminant Analysis of Principal Components (DAPC) using adegenet 2.0.0 - Tutorial","","This vignette tutorial explains how to apply Discriminant Analysis of Principal Components (DAPC) using the adegenet package in R to identify and describe genetic clusters from quantitative data. It demonstrates using find.clusters to determine the number of clusters and dapc to characterize relationships, including interpreting scatterplots, variable contributions, and group memberships. It further covers stability assessment via a-score and cross-validation, supplementary individuals, and a web interface for DAPC.",{"@graph":69,"@context":114},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/discriminant-analysis-of-principal-components-dapc-using-adegenet-200-tutorial/703131/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/discriminant-analysis-of-principal-components-dapc-using-adegenet-200-tutorial/703131.png","ImageObject",300,407,{"name":92,"@type":93},"Dipper","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-21","2026-11-13",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108],{"name":109,"@type":110,"acceptedAnswer":111},"How does the tutorial assess whether DAPC group membership probabilities are stable?","Question",{"text":112,"@type":113},"It discusses cases where memberships can be unreliable, then covers stability evaluation using the a-score and cross-validation. These methods help judge robustness of membership probabilities.","Answer","https://schema.org",{"og:url":83,"og:type":116,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":118,"canonical":83},"index,follow",{"doc_id":120,"site_id":62},703131,1794561111,{"code":4,"msg":5,"data":123},{"doc_id":120,"user_id":124,"nickname":92,"user_avatar":125,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":126,"file_id":127,"file_url":128,"file_type":129,"file_size":130,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":131,"language":132,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":133,"faqs":134,"seo_title":135,"seo_description":67,"update_tm":121,"read_time":136,"preview_page_count":24,"preview_urls":137},1374404997633,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","A tutorial for Discriminant Analysis of Principal Components (DAPC) using adegenet 2.0.0  \nThibaut Jombart, Caitlin Collins 􀀃  \nImperial College London MRC Centre for Outbreak Analysis and Modelling  \nJune 23, 2015  \nAbstract  \nThis vignette provides a tutorial for applying the Discriminant Analysis of Principal Components (DAPC [1]) using the adegenet package [2] for the R software [3] . This methods aims to identify and describe genetic clusters, although it can in fact be applied to any quantitative data. We illustrate how to use find .clusters to identify clusters, and dapc to describe the relationships between these clusters. More advanced topics are then introduced, such as advanced graphics, assessing the stability of DAPC results and using supplementary individuals.  \n􀀃 tjombart@imperial .ac .uk, caitlin .collins12@imperial .ac .uk  \nContents  \n1 Introduction 3  \n2 Identifying clusters using find . clusters 3  \n2.1 Rationale ..................................... 3  \n2.2 In practice ..................................... 4  \n2.3 How many clusters are there really in the data? ................ 8  \n3 Describing clusters using dapc 9  \n3.1 Rationale ..................................... 9  \n3.2 In practice ..................................... 10  \n3.3 Customizing DAPC scatterplots ......................... 13  \n3.4 Interpreting variable contributions ........................ 18  \n3.5 Interpreting group memberships ......................... 22  \n4 On the stability of group membership probabilities 28  \n4.1 When and why group memberships can be unreliable ............. 28  \n4.2 Using the a-score ................................. 32  \n4.3 Using cross-validation ............................... 36  \n5 Using supplementary individuals 38  \n5.1 Rationale ..................................... 38  \n5.2 In practice ..................................... 39  \n6 A web interface for DAPC 42  \n1 Introduction  \nInvestigating genetic diversity using multivariate approaches relies on 􀀌nding synthetic variables built as linear combinations of alleles ([i.e. new-variable =](i.e. new-variable = a 1allele 1)[ a](i.e. new-variable = a 1allele 1)[ 1](i.e. new-variable = a 1allele 1)[allele](i.e. new-variable = a 1allele 1)[ 1](i.e. new-variable = a 1allele 1) + a 2allele 2 + ::: where a 1 , a2 etc. are real coe􀀎cients) and which re􀀍ect as well as possible the genetic variation amongst the studied individuals. However, most of the time we are not only interested in the diversity amongst individuals, but also and possibly more so in the diversity between groups of individuals. Typically, one will be analysing individual data to identify populations, or more largely genetic clusters, and then describe these clusters.  \nA problem occuring in traditional methods is they usually focus on the entire genetic variation. Genetic variability can be decomposed using a standard multivariate ANOVA model as:  \ntotal variance = (variance between groups) + (variance within groups) or more simply, denoting X the data matrix:  \nVAR (X) = B(X) + W(X)  \nUsual approaches such as Principal Component Analysis (PCA) or Principal Coordinates Analysis (PCoA / MDS) focus on VAR(X) . That is, they only describe the global diversity, possibly overlooking di􀀋erences between groups. On the contrary, DAPC optimizes B (X) while minimizing W(X): it seeks synthetic variables, the discriminant functions, which show di􀀋erences between groups as best as possible while minimizing variation within clusters.  \n2 Identifying clusters using find . clusters  \n2.1 Rationale  \nDAPC in itself requires prior groups to be de􀀌ned. However, groups are often unknown or uncertain, and there is a need for identifying genetic clusters before describing them. This can be achieved using k-means, a clustering algorithm which 􀀌nds a given number (say, k) of groups maximizing the variation between groups, B (X) . To identify the optimal number of clusters, k-means is run sequentially with increasing values ","cbCaiiSUYivAiT8W","https://ap.wps.com/l/cbCaiiSUYivAiT8W","pdf",988933,43,"English","# Introduction\n# Identifying clusters using find.clusters\n## Rationale\n## In practice\n## How many clusters are there really in the data?\n# Describing clusters using dapc\n## Rationale\n## In practice\n## Customizing DAPC scatterplots\n## Interpreting variable contributions\n## Interpreting group memberships\n# On the stability of group membership probabilities\n## When and why group memberships can be unreliable\n## Using the a-score\n## Using cross-validation\n# Using supplementary individuals\n## Rationale\n## In practice\n# A web interface for DAPC","[{\"question\":\"How does the tutorial assess whether DAPC group membership probabilities are stable?\",\"answer\":\"It discusses cases where memberships can be unreliable, then covers stability evaluation using the a-score and cross-validation. These methods help judge robustness of membership probabilities.\"}]","Discriminant Analysis of Principal Components (DAPC) using adegenet 2.0.0 - Tutorial | PDF",108,[138,142,146,150,154],{"page_no":8,"url":139,"width":140,"height":141},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/2a4c446be07ccd2df8a001dfe0a2a9e4.webp",983,1272,{"page_no":14,"url":143,"width":144,"height":145},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/bc939f9c4169414a16d8ac647c042fe2.webp",982,1270,{"page_no":81,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/27ae7370477a7a4df0913bab3ff7d486.webp",981,1269,{"page_no":19,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/b5e85816856e87b473d200e429457acc.webp",980,1268,{"page_no":24,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/2d8d43db582c8f545bad96b7e80d8c47.webp",979,1267,{"list":159,"token":66},[160,166,172,178,185,192,199,206,213,220],{"doc_id":161,"doc_title":162,"file_type":129,"home_preview_img_url":163,"slug":164,"view_count":81,"category_name":30,"create_tm":165},703134,"Spatial Principal Component Analysis (sPCA) Tutorial - Using adegenet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013405995/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=Rc0hMfxcXcmCBzB%2B88LxvLsJGWQ%3D","spatial-principal-component-analysis-spca-tutorial-using-adegenet",1794561131,{"doc_id":167,"doc_title":168,"file_type":129,"home_preview_img_url":169,"slug":170,"view_count":24,"category_name":30,"create_tm":171},720570,"MPU-9250 Product Specification - MotionTracking Device","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400275/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=DM6g7TRBER4jb1TAFuuUs284KZg%3D","mpu-9250-product-specification-motiontracking-device",1795038218,{"doc_id":173,"doc_title":174,"file_type":129,"home_preview_img_url":175,"slug":176,"view_count":81,"category_name":30,"create_tm":177},692357,"GUI Essentials - Unity Interface Tutorial - Learn Unity GUI Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283750/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=UfA1kux5rdBf1VnMJ6ChCD9AW%2Fc%3D","gui-essentials-unity-interface-tutorial-learn-unity-gui-basics",1794195639,{"doc_id":179,"doc_title":180,"file_type":129,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":30,"create_tm":184},201528,"GLOCK Buyer’s Guide 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882497187/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=4t%2Bb0QTNsm0tGqqMjLl%2BkoSRfh4%3D","glock-buyers-guide-2025",25,1788535014,{"doc_id":186,"doc_title":187,"file_type":129,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":30,"create_tm":191},398653,"True Score Imputation with the TSI Package in R - Classical Test Theory","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229919496508/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=LkKBPXyBdqKBzMpPOK8agxnpoaE%3D","true-score-imputation-with-the-tsi-package-in-r-classical-test-theory",12,1790486992,{"doc_id":193,"doc_title":194,"file_type":129,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":30,"create_tm":198},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=aeNgWcNjBrI2RFXvDL8IjGaQl0I%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":200,"doc_title":201,"file_type":129,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":30,"create_tm":205},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=EuNBE1kOwXNfBJ9GCI%2BXH9ryN0g%3D","xnx-universal-transmitter-installation-manual",855,1776135954,{"doc_id":207,"doc_title":208,"file_type":129,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":30,"create_tm":212},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=l6Dkyrh2myBO5DpUxbRgmYD0NY4%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":214,"doc_title":215,"file_type":129,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":30,"create_tm":219},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=gk%2FyeltAE7UrCv9qsPFf3PutcBs%3D","free-fire-proxy-server",565,1776135932,{"doc_id":221,"doc_title":222,"file_type":129,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":30,"create_tm":226},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796112119&Signature=u8kUtiARNJtnHLewPRJR6IB3Vm8%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506]