Description Usage Arguments Examples
These functions use igraph::igraph.plotting functionality to plot a simplicial complex, i.e. a bipartite igraph::igraph object prefixed with class 'sc'.
1 2 3 |
x |
Bipartite igraph::igraph object, representing a simplicial complex. |
simplex.colors |
Character; the color palette from which to assign
colors to the simplices (by dimension). Matched to one of the viridis
palettes ( |
simplex.alpha |
Numeric value between |
layout |
A igraph::layout function, or the result of such a function
on the projection of the simplicial complex |
... |
Additional parameters passed to other |
1 2 3 4 5 6 7 8 9 10 | # load data
data(wiki_sc)
# inspection and visualization
print(wiki_sc)
plot(wiki_sc, vertex.label = NA)
# vertices and simplices
sc_vertices(wiki_sc)
sc_simplices(wiki_sc)
sc_vertices(wiki_sc, simplices = letters[1:3])
sc_simplices(wiki_sc, vertices = 1:5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.