Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in X[, index] : subscript out of bounds #175

Open
njrob25 opened this issue Jan 24, 2025 · 0 comments
Open

Error in X[, index] : subscript out of bounds #175

njrob25 opened this issue Jan 24, 2025 · 0 comments

Comments

@njrob25
Copy link

njrob25 commented Jan 24, 2025

Hello,

I am receiving this error message. When I try traceback, my R is not returning any information. My myGD has 41528 obs. of 7703 variables, my myGM has 7703 obs. of 3 variables, and my myY has 41528 obs. of 2 variables.

GenoPhenoGAPIT <- GAPIT(Y=myY,

  •                     GD = myGD,
    
  •                     GM = myGM,
    
  •                     PCA.total = 3,
    
  •                     model=c("GLM","MLM","MLMM","FarmCPU","Blink"),
    
  •                     SNP.MAF = 0.05,
    
  •                     Multiple_analysis = TRUE)
    

[1] "--------------------- Welcome to GAPIT ----------------------------"
[1] "GLM" "MLM" "MLMM" "FarmCPU" "Blink"
[1] "--------------------Processing traits----------------------------------"
[1] "Phenotype provided!"
[1] "The 1 model in all."
[1] "GLM"
[1] "GAPIT.DP in process..."
[1] "GAPIT will filter marker with MAF setting !!"
[1] "The markers will be filtered by SNP.MAF: 0.05"
maf_index
FALSE TRUE
209 7493
[1] "Calculating kinship..."
[1] "Number of individuals and SNPs are 24181 and 7493"
[1] "Calculating ZHANG relationship defined by Zhiwu Zhang..."
[1] "substracting mean..."
[1] "Getting X'X..."
[1] "Adjusting..."
[1] "Adjustment by the minimum diagonal"
[1] "Calculating kinship with Zhang method: done"
[1] "kinship calculated"
[1] "Adding IDs to kinship..."
[1] "Writing kinship to file..."
[1] "Kinship save as file"
[1] "Kinship created!"
[1] "Calling prcomp..."
[1] "Creating PCA graphs..."
[1] "Joining taxa..."
[1] "Exporting PCs..."
[1] "PC created"
Error in X[, index] : subscript out of bounds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant