View source: R/multiLayerNet_functions.R
plexi_distance_test1_isn | R Documentation |
Test the extremeness of embedding distances of local neighbors.
plexi_distance_test1_isn(distance, p.adjust.method = "none")
distance |
a distance list obtained by the |
p.adjust.method |
method for adjusting p-value (including methods on |
The adjusted p-values for each node is calculated based on their distance.
The adjusted pvalues for each node.
ISN1 = network_gen(n.nodes = 50, n.var.nodes = 5, n.var.nei = 40, noise.sd = .01)
ISN2 = network_gen(n.nodes = 50, n.var.nodes = 5, n.var.nei = 40, noise.sd = .01)
graph_data = cbind(ISN1[["data_graph"]], ISN1[["data_graph"]][,3:4])
embeddingSpaceList = plexi_embedding(graph.data=graph_data, outcome=c(1,2,1,2),
indv.index=c(1,1,2,2), train.rep=2, random.walk=FALSE)
Dist = plexi_node_distance(embeddingSpaceList)
Result = plexi_distance_test1_isn(Dist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.