GenABEL: missing sex in plant gwas
0
1
Entering edit mode
9.0 years ago
kumar.vinod81 ▴ 330

I want to use GenABEL for GWAS in a diploid plant species, but GenABEL stuck on as it requires a "sex" column in pheno file. It should be filled with "1" for male or "0" for female. But I am working with a plant species. What should I do?

Error in R:

impute <- load.gwaa.data(phe="traits.dat", gen="gen0tped.raw", force=TRUE)
Error in if (length(a) == 1 && !(names(a)[1] == 0 || names(a)[1] == 1)) stop("the column named \"sex\" contains 1 code which is neither 0 (=female) or 1 (=male)") : missing value where TRUE/FALSE needed
genabel gwas • 2.0k views
ADD COMMENT
2
Entering edit mode

Give it a dummy sex value, either male or female.

ADD REPLY

Login before adding your answer.

Traffic: 2219 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6