Learn R Programming

cpvSNP (version 1.4.0)

plotPvals: Create a Plot of P-Values Against Number of SNPs per Set for All Sets in a Collection

Description

Plots association test p-values against number of SNPs per gene set.

Usage

plotPvals(set, title = "", xlab = "SNPs per Gene Set", ylab = "PValue", ...)

Arguments

set
An object of class GeneSetResultCollection.
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 SNPs per Gene Set.
ylab
A character vector holding the label for the y-axis on the plot. Default is PValue.
...
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 against the number of SNPs in the gene set, for all sets within a collection.