Learn R Programming

coRNAi (version 1.22.0)

Pplot: Function to plot cumulative p-values

Description

Given a vextor of p-values a cumulative p-value plot is produced

Usage

Pplot(x, col = "darkblue", maintitle="", nrpoints = 100, ...)

Arguments

x
vector with p-values
col
color to be used
maintitle
character, main plot title
nrpoints
numeric, how many points should be plotted
...
additional arguments passed on to the plot

Value

a plot

Examples

Run this code
x = runif(1000,0,1)
Pplot(x,col="red",maintitle="uniform dist.", nrpoints=200)

Run the code above in your browser using DataLab