Description Usage Arguments Details Value Author(s) Examples
This function takes two correlation values (or matrices of correlation values) and calculate the differences between these values (term by term) and their respective p-values by a Fisher's Z transformation.
1 | compCorr(n1, r1, n2, r2)
|
n1 |
numerical or matrix of sample sizes for group 1. |
r1 |
numerical or matrix of correlation values for group 1. |
n2 |
numerical or matrix of sample sizes for group 2. |
r2 |
numerical or matrix of correlation values for group 2. |
This function use Fisher's Z transformation from scripts adapted from
the Internet:
http://ftp.sas.com/techsup/download/stat/compcorr.html
http://www.fon.hum.uva.nl/Service/Statistics/Two_Correlations.html
The result of this function is a list with two numerical items.
diff |
matrix (or a single number) of differences between correlation values from two groups |
pval |
matrix (or a single number) of p-values of differences between the correlation values |
Gustavo H. Esteves <gesteves@vision.ime.usp.br>
1 | compCorr(12, 0.9, 16, 0.73)
|
Loading required package: convert
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: ‘BiocGenerics’
The following objects are masked from ‘package:parallel’:
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from ‘package:stats’:
IQR, mad, sd, var, xtabs
The following objects are masked from ‘package:base’:
anyDuplicated, append, as.data.frame, basename, cbind, colnames,
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which.max, which.min
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: limma
Attaching package: ‘limma’
The following object is masked from ‘package:BiocGenerics’:
plotMA
Loading required package: marray
Loading required package: graph
$diff
[1] 1.253357
$pval
[1] 0.2100758
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.