CorMat | R Documentation |
Starting with two matrices with compatible row.names (corresponding to *samples*) and different column.names (corresponding to *measurements*) i.e. mat1 = measures of cognition mat2 = RNAseq or Tau measurements CorMat will sync the rows between matrices reports surviving rows and correlates every column in mat1 with every column in mat2 Returns a flat data frame with all comparisons, rvals, and pvals(ranked).
CorMat(x, y, method = "spearman", adj.meth = "BH")
x |
matrix 1 |
y |
matrix 2 |
method |
"pearson" (default) or "spearman" (rank order correlation) |
adj.meth |
Method to use for multiple comparisons correction default = "BH" for Benjamini Hochberg, other options are, "holm", "hochberg", "hommel", "bonferroni", "BY", "fdr", "none" uses stats::p.adjust function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.