View source: R/fct_network_inference.R
draw_network | R Documentation |
Visualize the GRN with regulators as green square nodes, and targets as gray discs.
draw_network(nodes, edges)
nodes |
dataframe containing nodes, from |
edges |
dataframe containing edges, from |
## Not run:
data("abiotic_stresses")
data("regulators_per_organism")
genes <- get_locus(abiotic_stresses$heat_DEGs)
# mat was inferred using the function network_inference
mat <- abiotic_stresses$heat_DEGs_regulatory_links
network <- DIANE::network_thresholding(mat, n_edges = length(genes))
data <- network_data(network, regulators_per_organism[["Arabidopsis thaliana"]])
DIANE::draw_network(data$nodes, data$edges)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.