stephenturner / qqman

An R package for creating Q-Q and manhattan plots from GWAS results
http://cran.r-project.org/web/packages/qqman/
GNU General Public License v3.0
154 stars 92 forks source link

highlighting issues #44

Closed mcoignet closed 8 years ago

mcoignet commented 8 years ago

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:

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

Any ideas as to how I could fix this?

Thanks!

Marie

mcoignet commented 8 years ago

A