diffCorDat: A Dataset for Differential Correlation Analysis

Description Usage Format Details Examples

Description

A dataset for differential correlation analysis.

Usage

1
data("diffCorDat")

Format

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

probe1

numeric. expression level for probe1

probe2

numeric. expression level for probe2

grp

character. a factor with levels cases controls

Details

The simulated data set contains expression levels of 2 gene probes for 50 cases and 50 controls. The expression levels of probe1 are generated from N(0, 1). The expression levels of probe2 for controls are also generated from N(0, 1). The expression levels of probe 2 for cases are generated from the formula probe2i = - probe1i + ei, i=1, ..., nCases, where ei ~ N(0, 0.3^2).

That is, the expression levels of probe 1 and probe 2 are negatively correlated in cases, but not correlated in controls.

Examples

1
2
3
4

statVisual documentation built on Feb. 21, 2020, 1:08 a.m.