View source: R/3-shared-getAdjacency.R
getAdjacencyFDR | R Documentation |
This function gets the significant pairs according to the permutation tests. Then it fills the adjacency matrix with 1 if pair is significant, otherwise 0. The significance is determined by the cutoff value for which the false discovery rate (FDR) is less or equal than the given value 'fdr'. The significant pairs are those that have a value greater/less or equal than the cutoff, depending on the metric.
getAdjacencyFDR(object, fdr = 0.05, window_size = 1)
object |
A |
fdr |
A float value for the false discovery rate. Default is 0.05. |
window_size |
An integer. Default is 1. When it is greater than 1, the FDR values would be smoothed out by a moving average of the given window size. |
An adjacency matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.