View source: R/back_to_matrix.R
back_to_matrix | R Documentation |
Convert a 3-column result of edge difference back to matrix
back_to_matrix(x)
x |
a data frame named einv.pals from NCT result object |
a p value matrix with the same dimension with correlation matrix
# uncomment to run
# EBICglassoNet(mtcars) -> net1
# EBICglassoNet(mtcars^3) -> net2
# suppressMessages(NetworkComparisonTest::NCT(net1,net2,it=500, binary.data=FALSE,test.edges=TRUE, edges='all',progressbar = FALSE)) -> NCT
# back_to_matrix(NCT$einv.pvals)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.