Description Usage Arguments Value
View source: R/utils-cluster-significance.R
Fold Changes between Matrices
1 | fold_change(a, b, log = TRUE, log.base = 2, fc.value = 3, greater = T)
|
a |
matrix (vars. by. obs.) for which fold changes are calculated |
b |
matrix (vars. by. obs.) for which the fold changes of matrix 'a' are calculated relative to |
log |
logical. if TRUE, calculates fold change in log space. |
log.base |
base of log. Defaults to 2. |
fc.value |
NULL or numeric. If NULL, return all FC values. If numeric, return FC values >= fc.value. |
greater |
boolean. If TRUE, return FC values equal to or greater than cutoff, else smaller than or equal to. |
numeric vector containing FC values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.