build_subset_graph | R Documentation |
Create a graph from the "build_topology_subset" edge list, so that it respects the subset relation, omitting the transitive edges.
build_subset_graph(edges, labels)
edges |
edge list, built from "build_topology_subset" |
labels |
list of node labels, to be paired with the graph |
a graph with the subset topology, omitting transitive edges
require(dplyr) preproc <- example_dataset() %>% dataset_preprocessing samples <- preproc[["samples"]] freqs <- preproc[["freqs"]] labels <- preproc[["labels"]] genes <- preproc[["genes"]] edges <- build_topology_subset(samples) g <- build_subset_graph(edges, labels)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.