admixtools
时间: 2023-11-15 15:07:22 浏览: 49
admixtools是一个用于进行人类群体遗传学分析的软件包,它提供了一系列的工具来计算和可视化不同种群之间的遗传关系。admixtools有多个版本,包括Linux软件版和两个R包版本。其中,admixtools R包是一种简单而方便的工具,不需要自己建配置文件。admixtools R包提供了f2、f3和f4统计方法,用于描述种群之间的相互关系。除此之外,admixtools还提供了其他的功能,可以根据需要进行使用。
以下是admixtools R包的安装方法和一个简单的示例:
1.首先是包的安装,可以使用devtools下载github上的包:
```R
install.packages("devtools") # 如果"devtools"还没有安装
devtools::install_github("uqrmaie1/admixtools")
library(admixtools)
```
2.使用admixtools R包进行f3统计:
```R
# 读取数据
data(french)
data(sardinian)
data(yoruba)
# 计算f3统计量
f3(french, sardinian, yoruba)
```
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![mp4](https://img-home.csdnimg.cn/images/20210720083504.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)