R: Simulated data

simu.idr {idr} | R Documentation

## Simulated data

### Description

This is a simulated dataset for testing the program. Data is first simulated from the copula mixture model with latent structure of 0.65 N(mu, mu, sigma, sigma, rho) + 0.95 N(0, 0, 1, 1, 0), where mu=2.5, sigma=1, rho=0.84. The observations in the dataset are then generated by taking the p-values from a z-test H0: mu=0.

### Usage

    data(simu.idr)

### Format

A data frame with 1000 observations on the following 3 variables.

`x`

  a numeric vector, representing p-values on replicate 1

`y`

  a numeric vector, representing p-values on replicate 2

`labels`

  a binary vector, where 1 represents the reproducible component and 0 represents the irreproducible component.

### References

Q. Li, J. B. Brown, H. Huang and P. J. Bickel. (2011) Measuring reproducibility of high-throughput experiments. Annals of Applied Statistics, Vol. 5, No. 3, 1752-1779.

### Examples

    data(simu.idr)
    plot(rank(simu.idr$x), rank(simu.idr$y))

[Package idr version 1.2 Index]