sgearle / bugwas

Locus and lineage tests for bacterial GWAS
GNU General Public License v2.0
30 stars 5 forks source link

incorrect number of dimensions #16

Open sbenvari opened 6 months ago

sbenvari commented 6 months ago

Hi,

While running my bugwas script, I encountered an error that I didn't encounter with a different dataset. Here's the code I used: library(bugwas) gen<-"/mnt/shared/scratch/sbenvari/bugwas/data/gemma_gen_fileP.txt" pheno<-"/mnt/shared/scratch/sbenvari/bugwas/data/st131_pheno.txt" phylo<-"/mnt/shared/scratch/sbenvari/bugwas/data/clean.full.final_tree.tre" prefix<-"bugwasP" gem.path <-"/mnt/shared/scratch/sbenvari/apps/conda/bin/gemma" data <- lin_loc(gen = gen, pheno = pheno, phylo = phylo, prefix = prefix, gem.path = gem.path)

The error message I received is as follows: Biallelic data processed successfully. Error in XX[[i]][, 1] : incorrect number of dimensions Calls: lin_loc -> get_tritetra -> run_lmm_multi -> matrix Execution halted

Could you please help me resolve this error?