plotPvals: Create a Plot of P-Values for Each Chromosome or Chromosomal...

Description Usage Arguments Details Value Author(s) Examples

View source: R/plotPvals.R

Description

Plots CAnD p-values for each chromosome/chromosomal region

Usage

1
2
plotPvals(set, title = "", xlab = "Chromosome", ylab = "-log10(PValue)",
  ...)

Arguments

set

An object of class CAnDResult.

title

A character string containing the title of the plot. Default is "", a blank title.

xlab

A character vector with the label for the x-axis on the plot. Default is Chromosome.

ylab

A character vector holding the label for the y-axis on the plot. Default is -log10(Bonferroni PValue) or -log10(PValue), depending on whether Bonferroni correction was used.

...

Further arguments to be passed to the plotting methods, such as graphical parameters.

Details

Creates a plot of all p-values for each chromosome or chromosomal region.

Value

Creates a plot.

Author(s)

Caitlin McHugh mchughc@uw.edu

Examples

1
2
3
4
data(ancestries)
euroEsts <- ancestries[,c(seq(from=2,to=24))]
res <- CAnD(euroEsts)
#plotPvals(res,main="CAnD P-Values")

Example output



CAnD documentation built on Nov. 8, 2020, 8:18 p.m.