plotGWAS: A Flexible Function to draw Manhattan Plot

Description Usage Arguments Value Author(s)

View source: R/plotGWAS.r

Description

Manhattan Plot for whole genome association analyses for single or multiple traits

Usage

1
2
3
plotGWAS(chrs = chrs, traitIdx = 1, plotcolor = c("darkgreen"),
  alldat = alldat, y_limit = "", main = "", cex_points = 1,
  cex_lab = 3.1, cex_axis = 3)

Arguments

chrs

A vector of numbers or characters indicating the chromosomes of markers.

traitIdx

A numeric variable indicating the index of trait to plot.

plotcolor

A vector of characters specify the colors used to plot the signatures on each chromosome.

alldat

A dataframe with columns containing SNP, chr, pos and association strength (-log10 P value) of markers for one or more traits.

y_limit

A numeric variable detail the range of y axis.

main

A character specifies the title of the plot.

cex_points

A numeric value specifies the cex of points in the plot.

cex_lab

A numeric value specifies the cex of labels in the plot.

cex_axis

A numeric value specifies the cex of axis in the plot.

Value

a figure

Author(s)

Bin Yang and Leilei Cui


LeileiCui/ADDO documentation built on July 25, 2020, 1:51 a.m.