Description Usage Arguments Value Examples
Algorithmic Framework for Representational Learning on Graphs
1 2 3 4 5 6 7 8 9 |
data |
input data for edges consisting of at least two columns of data and if there are weights,it must be in the third column. |
p |
return parameter.Default to 1. |
q |
in-out parameter.Default to 1. |
directed |
the network is directed or undirected.Default to undirected. |
num_walks |
number of walks per node.Default to 10. |
walk_length |
number of nodes in each walk.Default to 80. |
dim |
embedding dimensions.Default to 128. |
embedding results for each node
1 2 3 4 | #Parameters can be customized as needed
data(gene_edges)
use_data<-gene_edges
emb<-node2vecR(use_data,p=2,q=1,num_walks=5,walk_length=5,dim=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.