View source: R/genes-meta-analyses.R
compute_gene_cor | R Documentation |
Both data.frames have to share the same number of dimensions. For meaningful correlation, the rows and the columns should be identical between the two datasets.
compute_gene_cor(DF1, DF2, method)
DF1 |
numeric data.frame |
DF2 |
numeric data.frame. |
method |
a character string indicating which correlation coefficient is to be computed. One of "pearson", "spearman", "kendall" or 'pearson_log2' (for 'pearson_log2' the data is first log2 transformed before the computation of the correlation values) |
a named vector that contains the correlation value of each gene (used as name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.