spearman.cor | R Documentation |
Wrapper around correlation.
spearman.cor( v1, v2 = NULL, method = "spearman", use = "pairwise.complete.obs", match.flag = F, alternative = "two.sided", upper.tri.flag = F )
v1 |
matrix, rows are samples, columns are genes |
v2 |
metric to evaluate the correlation with (must be same length as rows of v1) |
method |
(default = "spearman") |
use |
(default = "pairwise.complete.obs") type of correlation |
match.flag |
(default = F) |
alternative |
(default = "two.sided") alternative hypothesis for correlation test |
upper.tri.flag |
(default = F) |
a new subsetted list object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.