cor.bootci: Bootstrap Confidence Interval for Multivariate Correlation

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function calculates Bootstrap confidence interval for multivariate correlation. The procedure is very similar to those used to calculate Bootstrap CI's for other parameters, such as mean and correlation. See manuscript for detail.

Usage

1
cor.bootci(x, y = NULL, m, G, alpha)

Arguments

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

Details

See manuscript.

Value

upperCI

Upper bound of CI

lowerCI

Lower bound of CI

Author(s)

Dongxiao Zhu and Youjuan Li

References

Zhu, D and Li Y. 2007. Multivariate Correlation Estimator for Inferring Functional Relationships from Replicated 'OMICS' data. Submitted.

See Also

cor.LRtest, cor.LRtest.std, cor.test, permutest

Examples

1
2
3
4
5
6
7
8
9
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)

CORREP documentation built on Nov. 8, 2020, 5:09 p.m.