powered by
Miami plot
miamiplot( x, chr = "CHR", bp = "BP", p = "P", pr = "PR", snp = "SNP", col = c("midnightblue", "chartreuse4"), col2 = c("royalblue1", "seagreen1"), ymax = NULL, highlight = NULL, highlight.add = NULL, pch = 19, cex = 0.75, cex.lab = 1, xlab = "Chromosome", ylab = "-log10(P) [y>0]; log10(P) [y
None.
Input data.
Chromsome.
Position.
P value.
P value of the other GWAS.
Marker.
Colors.
Max y.
Highlight flag.
Highlight meta-data.
Symbol.
cex.
cex for labels.
Label for x-axis.
Label for y-axis.
lwd.
lty.
Main title.
Additional options.
The function allows for contrast of genomewide P values from two GWASs. It is conceptually simpler than at the first sight since it involves only one set of chromosomal positions.
if (FALSE) { mhtdata <- within(mhtdata,{pr=p}) miamiplot(mhtdata,chr="chr",bp="pos",p="p",pr="pr",snp="rsn") }
Run the code above in your browser using DataLab