Create a manhattan plot in r

497 Views Asked by At

This is my code thus far, but it keeps saying "...' used in an incorrect context? Any suggestions?

library(qqman)
manhattan(
pvalues_file,
chr = "CHR",
bp = "BP",
p = "P",
snp = "SNP",
col = c("gray10", "gray60"),
chrlabs = NULL,
suggestiveline = -log10(1e-05),
genomewideline = -log10(5e-08),
highlight = NULL,
logp = TRUE,
annotatePval = NULL,
annotateTop = TRUE,
...
)
1

There are 1 best solutions below

1
On

You don't need to type .... ... in the function definition just means that there are other arguments that you can chuck in there. If you don't want to, don't.