GAPIT is showing error
0
1
Entering edit mode
4.4 years ago

Hi

I am running GAPIT in R for GWAS. When I use external kinship and CV file the program shows error

Error in if ((n_gd + n_cv) > n_ran) { : argument is of length zero
In addition: There were 19 warnings (use warnings() to see them)

If i dont use these files it works. But I want to use these external files.

The code i used for GWAS

myY <- read.table("pythiumread_gwas.txt", head = TRUE)
myG <- read.table("Ca1-8_429_20042017_filtered_chiti_maf_0.05_missing_0.8_noCA_nocontig_noscaf_noLD.hmp.txt" , head = FALSE)
myCV <- read.table("mdp_population_structure.txt", head = TRUE)
myKI <- read.table("KI.txt", head = FALSE)
myGAPIT <- GAPIT(
  Y=myY,
  G=myG,
  CV=myCV,
  KI=myKI,
  model=c("GLM","MLM","MLMM","FarmCPU")
)

I would be grateful if you can tell me why I am getting this error.

GWAS GAPIT • 1.0k views
ADD COMMENT
0
Entering edit mode

Hi,

You should have just edited your previous post. Please do not open multiple posts for the same question.

ADD REPLY

Login before adding your answer.

Traffic: 1412 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6