mhplot: Manhattan Plot for meta-analysis results

Description Usage Arguments Details Value

View source: R/mhplot.R

Description

mhplot returns a pdf file containing the Manhattan plot of meta-analysis results.

Usage

1
2
3
4
5
  mhplot(res.file = NULL, data = NULL,
    col = c("darkgrey", "lightgrey"),
    out.file = "mhplot.pdf", main = "MHplot",
    plab = "p_value", CHRlab = "chr", POSlab = "Position",
    sig.p = 5e-08, sug.p = 5e-07, sep = " ")

Arguments

res.file

File name for the file(s) containing meta-analysis results. For multiple files (e.g. one file for each chromosome) the special character "*" is allowed. This is an alternative to data.

data

Dataset containing meta-analysis results. This is an alternative to file, if results are already loaded in the R workspace.

col

Choice of two colours for the plot. They will be alternating for different chromosomes.

out.file

File name for the output.

main

Title to appear on plot.

plab

p-values label i.e. column name for the p-values column.

CHRlab

Chromosome label i.e. column name for the chromosome numbers column.

POSlab

Position label i.e. column name for the position numbers column.

sig.p

Significant p-values level.

sug.p

Suggestive p-values level.

sep

Separator used in file. Default is white space.

Details

The function is useful for a quick overview of meta-analysis results. Two different types of input are allowed:

Value

The output is a pdf file containing the Manhattan Plot.


MultiMeta documentation built on May 2, 2019, 9:11 a.m.

Related to mhplot in MultiMeta...