plot_network_i: Plot interactive network

View source: R/network.R

plot_network_iR Documentation

Plot interactive network

Description

Plot interactive network based on igraph layout input

Usage

plot_network_i(graph, save_file = NULL)

Arguments

graph

igraph layout object

save_file

file name of the saved file, not save if NULL

Value

visNetwork htmlwidget

Examples

example_data <- pGRNDB
expression_matrix <- example_data[["expression"]]
pseudotime_list <- example_data[["ptime"]]$PseudoTime
dtw_dist_matrix <- get_dtw_dist_mat(expression_matrix,
                                    pseudotime_list,
                                    cores=1)
nets <- module_networks(dtw_dist_matrix,k=1,quantile_cutoff=50)
plot_network_i(nets[["module1"]])

pGRN documentation built on Jan. 18, 2023, 1:06 a.m.