Find CONCOR partition and add to a list of igraph objects
Find CONCOR partition and add to a list of igraph objects
Takes a list of igraph objects, runs concor until the desired number of splits, and adds the final split to each object as a vertex attribute.
concor_igraph_apply(igraph_list, nsplit =1)
Arguments
igraph_list: The list of igraph objects for use in concor.
nsplit: Number of times to split each network.
Details
This function is a wrapper for a common task: Running concor on one or more igraph objects and adding the resulting partition to each object as a vertex attribute. If multiple igraph objects are included in the input list, they should be multiple relations for the same nodes.
If all of the input graphs are weighted, edge weights will be used by concor.
Returns
Returns a list of igraph objects, each with a vertex attribute csplitn
(where n is nsplit) that contains the block assignment obtained from concor.