R/15-data_visualization_plot_relationship_network.R
create_relation_network.Rd
This function constructs a network of relationships between different biological entities. The network can include functional modules, modules, pathways, and molecules.
create_relation_network(
object,
include_functional_modules = TRUE,
include_modules = TRUE,
include_pathways = TRUE,
include_molecules = TRUE
)
An object of class functional_module
containing the functional module data.
Logical; whether to include functional modules in the network. Defaults to TRUE.
Logical; whether to include modules in the network. Defaults to TRUE.
Logical; whether to include pathways in the network. Defaults to TRUE.
Logical; whether to include molecules in the network. Defaults to TRUE.
A list containing edge_data
and node_data
data frames.
edge_data
is a data frame containing the relationships between nodes, including their classes.
node_data
is a data frame containing information about each node, such as annotation and class.