I am trying to highlight a set of candidate SNPs on my manhattan plot. I have verified that the list of SNPs was in a character vector and have also taken out all of the NA's from both sets by na.omit. I am getting this error message when I try to run my plot:
manhattan(am_reg2, highlight = gwas3)
Error in [<-.data.frame(*tmp*, d$CHR == i, , value = list(CHR = c(1L, :
missing values are not allowed in subscripted assignments of data frames
Hello!
I am trying to highlight a set of candidate SNPs on my manhattan plot. I have verified that the list of SNPs was in a character vector and have also taken out all of the NA's from both sets by na.omit. I am getting this error message when I try to run my plot:
Any ideas as to how I could fix this?
Thanks!
Marie