class.mergeCor: Class mergeCor, a class for storing data relevant to...

Description Details Slots Methods See Also Examples

Description

This is the class representation for integrative correlation coefficients.

Details

If 'n' is the number of studies then for i < j <= n, the pairwise correlation of correlations for studies i and j is stored in column ((i-1)*(n-1)-(i-2)*(i-1)/2 + j-i) of the pairwise.cors slot.

Slots

pairwise.cors

Object of class matrix. Each column contains correlation of correlation score for genes in a pair of study.

maxcors

Object of class vector. Each slot represents maximal canonical correlation (pairwise canonical correlations) for each pair of studies.

notes

Object of class vector. Each slot contains notes for each study.

Methods

Class-specific methods:

cors(mergeCor)

Accessor function for the cors slot.

pairs.cors( mergeCor)

Accessor function for the pairwise.cors slot

integrate.cors(mergeCor)

Accessor function, returns integrative correlation (average pairwise correlation of correlations) for each gene. If adjust is TRUE, returns the integrate correlation devided by the correponding canonical correlation, and the default value is FALSE.

maxcors(mergeCor)

Accessor function, returns maximal canonical correlation (pairwise canonical correlations) for each pair of studies.

Standard generic methods:

notes (mergeCor)

An accessor function for the notes slot.

hist(mergeCor,...)

Draw histograms of integrative correlation, here we use the approximate method to calculate the integrative correlation.

See Also

mergeCor-class,intCor,modelOutcome, mergeExpressionSet-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  if(require(Biobase) & require(MASS)){
  data(mergeData)
  merged  <- mergeExprs(sample1,sample2,sample3)
  intcor3  <-intCor(merged,method="pearson")
  plot(merged)
  intcor2  <-intCor(merged[1:2],exact=FALSE)
  plot(merged,pch=4,col=5)

  pairwise.cors(intcor3)
  integrative.cors(intcor3)
  integrative.cors(intcor2)["Hs.12101"]
  maxcors(intcor2)
  }

MergeMaid documentation built on April 28, 2020, 6:30 p.m.