>setwd("D:/数据/GWAS/群体结构")>library("ggplot2")>install.packages(c("ggplot2","gridExtra","label.switching","tidyr","remotes"),repos="https://cloud.r-project.org")>remotes::install_github('royfrancis/pophelper')>library("pophelper")>tbl=read.table("genotype.3.Q")>pdf("admixture....
随着技术的发展,Structure速度较慢,无法满足大量分子标记计算的需求,因此,admixture逐渐成为群体结构分析的主流软件。本文将介绍如何通过admixture进行群体结构计算。http://dalexander.github.io/admixture/index.html 在plink中将vcf文件转换成admixture所需的.ped或.bed格式,这里以.ped为例 --vcf 输入文...