barrenSets | R Documentation |
Return list of barren subsets up to specified size
barrenSets(
graph,
topOrder,
max_size,
same_dist = FALSE,
sort = 1,
return_anc_sets = FALSE
)
graph |
object of class |
topOrder |
optionally, a topological order |
max_size |
integer giving maximum size to consider |
same_dist |
logical: should barren sets be in the same district? |
sort |
integer:1 for unique but unsorted, 2 for sorted. |
return_anc_sets |
logical: return ancestral sets for each vertex as an attribute? |
Uses clique
algorithm on a suitable undirected graph.
Warning: Doesn't work for cyclic graphs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.