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
Give it a dummy sex value, either male or female.