Description Usage Arguments Details Value References
Helper function to calculate the correlation matrix.
1 |
x |
( |
with.pvalues |
( |
order.list |
( |
verbose |
( |
P-Values are calculated from the t-test value of the correlation coefficient: t = r x sqrt(n-2) / sqrt(1-r^2),
where r is the correlation coefficient, n is the number of samples with no missing values for each gene (row-wise
ncol(eset)
minus the number of columns that have an NA). P-Values are then calculated using pt
and
corrected account for the two-tailed nature of the test, i.e., the possibility of positive as well as negative correlation.
The approach to calculate correlation significance was adopted from Miles, J., & Banyard, P. (2007) on
"Calculating the exact significance of a Pearson correlation in MS Excel".
A correlation matrix
or a list
with three slots: the correlation matrix, the number of samples with no
missing value for each gene and the P-Values matrix.
Miles, J., & Banyard, P. (2007). Understanding and using statistics in psychology: A practical introduction. Sage Publications Ltd. https://psycnet.apa.org/record/2007-06525-000.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.