error for coloc input datacheck
forevertl opened this issue · 0 comments
forevertl commented
Hi,
I would like to ask a question. When I run coloc.abf using coloc version 5.2.3. My input data is as below.
type position snp gARE pvalues beta n
quant 1592964 chr1_1592964_C_T_b38 chr1:1692276-1693454 5.78E-01 1.45E-01 108
quant 1593620 chr1_1593620_G_C_b38 chr1:1692276-1693454 7.45E-02 3.00E-01 108
quant 1594077 chr1_1594077_T_C_b38 chr1:1692276-1693454 7.45E-02 3.00E-01 108
I got Error in if (!(d$type %in% c("quant", "cc"))) stop("dataset ", suffix, : the condition has length > 1.
But I do have the 'type' column with 'quant'. Do you have any idea on it? Thank you.
Lin