betas_plot: Summary plot of the effect sizes and their correlations for a...

Description Usage Arguments Details Value

View source: R/betas_plot.R

Description

betas_plot returns a pdf file containing information about the meta-analysis combined effect sizes (beta coefficients) for a chosen SNP of interest.

Usage

1
2
3
  betas_plot(SNP, res.file = NULL, data = NULL,
    trait.names = NULL, out.file = "Betas.pdf", col = NULL,
    orig.files = NULL, cohort.names = NULL)

Arguments

SNP

A SNP of interest, e.g. a SNP that is significantly associated to the analysed traits.

res.file

File name of the multi_meta results containing effect sizes for the above SNP. This is an alternative to data.

data

Object containing results from the multi_meta function and the above SNP. This is an alternative to file.

trait.names

Vector of analysed trait names to appear on the plot.

out.file

File name for the output plot.

col

Colours for the heat-map plot. Combinations of several colours are possible. If left blank a heat-map in scales of grey is produced.

orig.files

List of files with multivariate results for each cohort.

cohort.names

Names of the cohorts included in the meta-analysis.

Details

The plot produced can be a useful tool for visualizing effect sizes across all traits, and the correlation between them. The plot will have two panels:

  1. effect sizes with 95% confidence interval for each trait;

  2. a heat-map showing correlations between betas.

Two different types of input are allowed:

Value

The output is a pdf file containing the described plot.


MultiMeta documentation built on May 29, 2017, 11:20 p.m.