sccore (version 1.0.5)

splitVectorByNodes: splitVectorByNodes

Description

splitVectorByNodes

Usage

splitVectorByNodes(vec, nodes, n.nodes)

Value

list from vec with names given by the nodes

Arguments

vec

input vector to be divided

nodes

nodes used to divide the vector 'vec' via split()

n.nodes

numeric The number of nodes for splitting

Examples

Run this code
adjList = graphToAdjList(conosGraph)
print(names(adjList))
## [1] "idx" "probabilities" "names" 
length(adjList$names)
## [1] 12000

Run the code above in your browser using DataLab