Description Usage Arguments Details Value Author(s) See Also Examples
A RWR on Multiplex Heterogeneous object is an R object generated as the
result of calling the function Random.Walk.Restart.MultiplexHet
(Results of the RWR-MH)
1 |
x |
An R object |
isRWRMH_Results(x)
checks whether an R object is RWRMH_Results
A logical constant, TRUE
if argument x
is
a RWRMH_Results object.
Alberto Valdeolivas Urbelz alvaldeolivas@gmail.com
Random.Walk.Restart.MultiplexHet
,
isRWRM_Results
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | m1 <- igraph::graph(c(1,2,1,3,2,3), directed = FALSE)
m2 <- igraph::graph(c(1,3,2,3,3,4,1,4), directed = FALSE)
multiObject <- create.multiplex(m1,m2)
h1 <- igraph::graph(c("A","C","B","E","E","D","E","C"), directed = FALSE)
bipartite_relations <- data.frame(m=c(1,3),h=c("A","E"))
multiHetObject <-
create.multiplexHet(multiObject,h1,bipartite_relations)
MultiHetTranMatrix <- compute.transition.matrix(multiHetObject)
Multiplex_Seeds <- c(1)
SecondNet_Seeds <- c("E")
RWR_MultiHetResults <-
Random.Walk.Restart.MultiplexHet(MultiHetTranMatrix,multiHetObject,
Multiplex_Seeds ,SecondNet_Seeds)
isRWRMH_Results(RWR_MultiHetResults)
isRWRMH_Results(m1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.