diffCorDat {statVisual} | R Documentation |
A Dataset for Differential Correlation Analysis
Description
A dataset for differential correlation analysis.
Usage
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 probe2_{i} = -probe1_{i} + e_i
, i=1, \ldots, nCases
, where e_i\sim 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
data(diffCorDat)
print(dim(diffCorDat))
print(diffCorDat[1:2,])
[Package statVisual version 1.2.1 Index]