intcorDens {MergeMaid} | R Documentation |
Given a mergeExprSet, this function calculates and plots the density function of the integrative correlations, as well as densities for two "null distributions" obtained by randomly permuting sample IDs.
intcorDens(x,method= c("pearson", "kendall", "spearman"),...)
x |
Object of class mergeExprSet. |
method |
Method used to calculate correlation coefficient. |
... |
graphical parameters to be passed to plot. |
Integrative correlation coefficients are calcualted as follows. The first step is to identify the n genes common to all studies. Within each study, we calculate the correlation coefficient between gene g, and every other common gene. This gives a vector of length n-1. For a pair of studies, S1 and S2, we calculate the correlation of correlations for gene g. When there are more than 2 studies under consideration, all pairwise correlation of correlations are calculated and averaged.
The value is null. Returns a plot.
mergeCor-class
,intCor
,modelOutcome
data(mergeData) merged <-mergeExprs(sample1,sample2,sample3) intcorDens(merged) intcorDens(merged,cex.legend=1.5) intcorDens(merged,lty=2)