gcc.corfinal | R Documentation |
Compare two correlations produced by GCC method for a gene pair, and choose one as the final output of GCC method.
gcc.corfinal(gcccor)
gcccor |
a list output by cor.pair function for GCC method. |
If the p-value is "NA", the correlation with absolute maximum value is selected; otherwise, the correlation with lower p-value is chosen.
gcc.fcor |
the final correlation of GCC. |
gcc.fpavlue |
the final pvalue of correlation. |
Chuang Ma, Xiangfeng Wang
onegcc
, cor.pair
.
## Not run: data(rsgcc) x <- rnaseq[1:4,] #compute correlation between 1th and 4th genes #significance level of the computed correlation #is calcuated with 200 permutation tests. corpair <- cor.pair(c(1,4), GEMatrix = x, rowORcol = "row", cormethod = "GCC", pernum = 200, sigmethod = "two.sided") #get the final correlation and p-value of GCC method gcc.corfinal(corpair) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.