Learn R Programming

CAnD (version 1.4.0)

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

Description

Plots CAnD p-values for each chromosome/chromosomal region

Usage

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.

Value

Creates a plot.

Details

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

Examples

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

Run the code above in your browser using DataLab