Last data update: 2014.03.03

R: Overview Histogram for splitSets
hist.splitSetR Documentation

Overview Histogram for splitSets

Description

Draws a histogram of empirical p-values and shows the corresponding q-values corrected for multiple testing.

Usage

## S3 method for class 'splitSet'
hist(x, main = "Distribution of p-Values", 
              xlab = "p-values", col = "grey", xlim = c(0, 1), ...)

Arguments

x

object of type splitSet. Should hold a considerable number of splits.

main

main title of the histogram.

xlab

legend for the x-axis.

col

color for the histogram bars.

xlim

limits for the x-axis (p-values).

...

further parameters passed on to the default hist function.

Details

This function draws a regular histogram of empirical p-values observed in the splitSet at hand. The corresponding q-values, corrected by the method suggested by Benjamini-Hochberg, are plotted into the same graph. The scale for the q-values is shown at the left hand side of the plot.

Author(s)

Claudio Lottaz

See Also

adSplit

Examples

data(golubKEGGSplits)
hist(golubKEGGSplits, col="red")

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(adSplit)


KEGG.db contains mappings based on older data because the original
  resource was removed from the the public domain before the most
  recent update was produced. This package should now be considered
  deprecated and future versions of Bioconductor may not have it
  available.  Users who want more current data are encouraged to look
  at the KEGGREST or reactome.db packages

> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/adSplit/hist.splitSet.Rd_%03d_medium.png", width=480, height=480)
> ### Name: hist.splitSet
> ### Title: Overview Histogram for splitSets
> ### Aliases: hist.splitSet hist,splitSet-method
> ### Keywords: hplot
> 
> ### ** Examples
> 
> data(golubKEGGSplits)
> hist(golubKEGGSplits, col="red")
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>