CellNetwork.node_sample

CellNetwork.node_sample(size=1)

Get a list of identifiers of a random set of n nodes.

Parameters

size (int, optional) – The size of the sample.

Returns

list – The identifiers of the nodes.