Learn R Programming

pGRN (version 0.3.5)

plot_network: Plot stationary network

Description

Plot stationary network through ggraph

Usage

plot_network(graph, ...)

Value

ggraph

Arguments

graph

a tbl_graph object

...

other parameters for ggraph

Examples

Run this code
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(nets[["module1"]])

Run the code above in your browser using DataLab