Uses the techniques in enumerate_RGs
to sample a single RG
uniformly. All clonal partitions are generated, each weighted by its number
of consistent sibling partitions. A clonal partition is sampled proportional
to its weight, then a consistent sibling partition is drawn uniformly. The
resulting nested partition represents the RG; see enumerate_RGs
for details.
Value
An RG encoded either as an igraph
object (default), or as a list;
see enumerate_RGs
for details.