cormat_to_edgelist {BioNERO} | R Documentation |
Transform a correlation matrix to an edge list
cormat_to_edgelist(matrix)
matrix |
Symmetrical correlation matrix. |
A 2-column data frame containing node 1, node 2 and edge weight.
data(filt.se) cor_mat <- cor(t(SummarizedExperiment::assay(filt.se))) edgelist <- cormat_to_edgelist(cor_mat)