Open ibrahiaa opened 1 year ago
Hi, did you check if you have: missing, NA, Inf, something not numeric or=0 for PVAL, BETA, SE ?
Hi,
Thanks for the quick reply. I checked the columns you mentioned and they are all fine in both datasets, no missing, NA or Inf values. From the error message it seems something with the 'type' column is not right?
ibrahiaa
And no pvalue == 1? The type="quant" should be fine, just check that it is character?
Type is of class character. PVAL column in biom.df contained a few 1 values. I replaced all these with 0.999, but got the same error.
I found that the biom.df file had som "CHR" numerical values other than 1:22. By removing these, the warning message disappears. But the 'Error in d$type == "quant"' remains.
Hi,
After formating the biom.df and eqtl.df objects and adding a $type column to each, I got two data frames looking this, which seems fine:
However, when running coloc.eqtl.biom using default parameters, I get this error message, not sure what is causing it:
132 SNPs out of 139 had the correct alleles, discarding SNPs without the correct alleles There are 0 duplicated SNP names in the data ENSG00000236239: 132 snps in both biomarker and eQTL data. From: 751756 To: 1874837 Processing dataset Error in d$type == "quant" : comparison (1) is possible only for atomic and list types In addition: Warning message: In coloc.eqtl.biom(eqtl.df = eqtl.df, biom.df = biom.df, p12 = 1e-06, : NAs introduced by coercion