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

Example output

Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package:BiocGenericsThe following objects are masked frompackage:parallel:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked frompackage:stats:

    IQR, mad, sd, var, xtabs

The following objects are masked frompackage:base:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames,
    dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: ggplot2
Registered S3 method overwritten by 'GGally':
  method from   
  +.gg   ggplot2
[1] 100   3
     probe1     probe2   grp
1 0.1567038  0.2438042 cases
2 1.3738112 -1.5249113 cases

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