# NOT RUN {
input.data = read.table(gzfile(system.file("extdata", "demo.txt.gz", package = "GWASinspector")),
header = TRUE,
stringsAsFactors = FALSE,
fill = TRUE)
tmpPlotFile = paste(tempfile(),'png',sep = '.')
manhattan.plot(dataset = input.data, chr = 'CHR', pvalue = 'PVALUE', position = 'POSITION',
plot.title = 'Manhattan plot', plot.subtitle = 'This data is fabricated!',
fileName = tmpPlotFile , p.threshold = '0.5')
# }
Run the code above in your browser using DataLab