> install.packages("GAPIT") Installing package into 'C:/Users/dave/Documents/R/win-library/4.0’ (as 'lib’ is unspecified) Warning in install.packages : package 'GAPIT’ is not available for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran./doc/manuals/r-patched/R-admin.html#Installing-packages
#Import data from Zhiwu Zhang Lab myY <- read.table("http:///GAPIT/data/mdp_traits.txt", head = TRUE) myGD=read.table(file="http:///GAPIT/data/mdp_numeric.txt",head=T) myGM=read.table(file="http:///GAPIT/data/mdp_SNP_information.txt",head=T) source("http:///GAPIT/GAPIT.library.R") source("http:///GAPIT/gapit_functions.txt") #GWAS with five methods myGAPIT_MLM <- GAPIT( Y=myY[,c(1,3)], #fist column is individual ID, the third columns is days to pollination GD=myGD, GM=myGM, PCA.total=3, model=c("GLM", "MLM", "CMLM", "FarmCPU", "Blink"), Multiple_analysis=TRUE)