cor.bootci {CORREP} | R Documentation |
This function calcualtes Bootstrap confidence interval for multivaraite correlation. The procedure is very similair to those used to calcualte Bootstrape CI for other parameters. See manuscript for detail.
cor.bootci(x, y = NULL, m, G, alpha)
x |
data matrix, column represents samples (conditions), and row represents variables (genes), see example below for format information |
y |
optional, used when x and y are vectors |
m |
number of replicates |
G |
number of genes |
alpha |
significant level |
See manuscript.
upperCI |
Upper bound of CI |
lowerCI |
Lower bound of CI |
Dongxiao Zhu and Youjuan Li
Zhu, D and Li Y. 2007. Multivariate Correlation Estimator for Inferring Functional Relationships from Replicated 'OMICS' data. Submitted.
cor.LRtest1
, cor.LRtest2
, cor.test
, permutest
library("CORREP") d0 <- NULL ## sample size is set to 5 for(l in 1:5) d0 <- rbind(d0, rnorm(8)) ## data must have row variance of 1 d0.std <- apply(d0, 2, function(x) x/sd(x)) M <- cor.balance(t(d0.std), m = 2, G= 4) pv.bootci <- cor.bootci(t(d0.std), m = 2, G= 4, alpha = 0.05)