This is the R version of BLINK model. You can find the C version here: https://github.com/Menggg/BLINK
install.packages("devtools")
devtools::install_github("YaoZhou89/BLINK")
BLINK R version only support numeric data type.
source("http://zzlab.net/GAPIT/gapit_functions.txt")
source("http://zzlab.net/FarmCPU/FarmCPU_functions.txt")
library(BLINK)
myGM=read.table("myData.map",head=T)
myGD=read.big.matrix("myData.dat",head=F,sep="\t",type="char")
myY = read.table("myData.txt",head = T)
myBlink=Blink(Y=myY,GD=myGD,GM=myGM,maxLoop=10,time.cal=T) # more parameters explained in man/user manual
Dr. Yao Zhou (yao.zhou@genetics.ac.cn)