splitVectorByNodes {sccore}R Documentation

splitVectorByNodes

Description

splitVectorByNodes

Usage

splitVectorByNodes(vec, nodes, n.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

Value

list from vec with names given by the nodes

Examples

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


[Package sccore version 1.0.5 Index]