Description Details Slots Methods See Also Examples
This is the class representation for integrative correlation coefficients.
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.
Object of class matrix. Each column contains correlation of correlation score for genes in a pair of study.
Object of class vector. Each slot represents maximal canonical correlation (pairwise canonical correlations) for each pair of studies.
Object of class vector. Each slot contains notes for each study.
Class-specific methods:
Accessor function for the cors slot.
Accessor function for the pairwise.cors slot
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.
Accessor function, returns maximal canonical correlation (pairwise canonical correlations) for each pair of studies.
Standard generic methods:
An accessor function for the notes slot.
Draw histograms of integrative correlation, here we use the approximate method to calculate the integrative correlation.
mergeCor-class
,intCor
,modelOutcome
, mergeExpressionSet-class
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.