Closed marcora closed 1 year ago
I have no problems running hyprcoloc with the example dataset, but when applying to my dataset I get the following error:
trait.names = colnames(betas) snp.id = rownames(betas) binary.outcomes = c(0,1,0) res = hyprcoloc(betas, ses, trait.names = trait.names, snp.id = snp.id, binary.outcomes = binary.outcomes, snpscores = TRUE) Error in which.max(labf) : 'list' object cannot be coerced to type 'double'
I have attached rds files for betas and ses.
data.zip
Thanks in advance for your help and consideration.
My bad! Did not realize hyprcoloc requires matrices (and not dataframes) as betas and ses inputs.
I have no problems running hyprcoloc with the example dataset, but when applying to my dataset I get the following error:
I have attached rds files for betas and ses.
data.zip
Thanks in advance for your help and consideration.