1. 软件包安装
https://github.com/luansheng/visPedigree
library(devtools)
install_github("luansheng/visPedigree")
vispedigree软件包作者,栾老师个人百科:
https://baike.baidu.com/item/%E6%A0%BE%E7%94%9F/19399751?fr=aladdin
2. 示例系谱
test = data.frame(ID = 1:8,Sire = c("A","A","A",1,1,1,5,5),Dam = c("B","B","B",2,3,"B",2,3))
test
3. 系谱作图
library(visPedigree)
visped(tidyped(test))
4. 关注我
公众号:育种数据分析之放飞自我
ID:R-breeding