美文网首页QTL定位
LDheatmap包使用

LDheatmap包使用

作者: 良田农庄 | 来源:发表于2019-03-26 22:21 被阅读0次

绘制染色体特定片段的LDheatmap
使用LDheatmap包
genetics转换数据格式

snp<-read.csv("片段截取的hmp文件",sep=",",header=T)
library(genetics)
num<-ncol(snp) 
 for(i in 1:num){
   snp[,i]<-as.genotype(snp[,i]) 
# convert the columns of the original data frame into  genotype objects
 }

相关文章

网友评论

    本文标题:LDheatmap包使用

    本文链接:https://www.haomeiwen.com/subject/oojovqtx.html