# NOT RUN {
#
require(gap.datasets)
mhtplot.trunc(mhtdata,chr = "chr", bp = "pos", p = "p", snp = "rsn", y.brk1=10, y.brk2=12)
#
z <- gzfile("METAL/IL.12B-1.tbl.gz")
x <- read.delim(z, as.is=TRUE)[c("Chromosome","Position","P.value","MarkerName")]
png("IL.12B.png", res=300, units="in", width=9, height=6)
par(oma=c(0,0,0,0), mar=c(5,6.5,1,1))
mhtplot.trunc(x, chr="Chromosome", bp="Position", p="P.value", snp="MarkerName",
suggestiveline=FALSE, genomewideline=-log10(5e-8), logp = TRUE,
cex.mtext=2, cex.text=0.7,
mtext.line=4, y.brk1=120, y.brk2=270, cex.axis=2, cex.y=2, cex=2,
y.ax.space=20,
col = c("blue4", "skyblue")
)
dev.off()
# }
Run the code above in your browser using DataLab