No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
data
man
DESCRIPTION
NAMESPACE
README.md

README.md

BLINK

This is the R version of BLINK model. You can find the C version here: https://github.com/Menggg/BLINK

Installation

install.packages("devtools")

devtools::install_github("YaoZhou89/BLINK")

Demo Data

BLINK R version only support numeric data type.

Usage

# source functions needed

source("http://zzlab.net/GAPIT/gapit_functions.txt")

source("http://zzlab.net/FarmCPU/FarmCPU_functions.txt")

library(BLINK)

# genotype information data

myGM=read.table("myData.map",head=T)

# genotype data

myGD=read.big.matrix("myData.dat",head=F,sep="\t",type="char") 

# phenotype data

myY = read.table("myData.txt",head = T) 

# association analysis

myBlink=Blink(Y=myY,GD=myGD,GM=myGM,maxLoop=10,time.cal=T) # more parameters explained in man/user manual

Author

Dr. Yao Zhou (yao.zhou@genetics.ac.cn)