plexi_distance_test1_isn {PLEXI} | R Documentation |
Test the extremeness of embedding distances of local neighbors.
Description
Test the extremeness of embedding distances of local neighbors.
Usage
plexi_distance_test1_isn(distance, p.adjust.method = "none")
Arguments
distance |
a distance list obtained by the |
p.adjust.method |
method for adjusting p-value (including methods on |
Details
The adjusted p-values for each node is calculated based on their distance.
Value
The adjusted pvalues for each node.
Examples
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)
[Package PLEXI version 1.0.0 Index]