Learn R Programming

molnet (version 0.1.0)

drug_targets_example: Drug target nodes in combined network

Description

Exemplary intermediate pipeline output: Drug targets detected in the combined graphs. A named list with elements `drug_targets` and `edgelist`. This was created from determine_drug_targets using the default settings given by molnet_settings. Drug-gene interactions to calculate this output were used from The Drug Gene Interaction Database.

Usage

drug_targets_example

Arguments

Format

A named list with 2 items.

targets

A named list

target_nodes
data frame with column `node_id` (unique node IDs in the graph targeted by drugs) and columns `group1` and `group2` (boolean values specifying whether the node is contained in the combined graph of the group)
drugs_to_target_nodes
Element `drugs_to_target_nodes` contains a named list mapping drug names to a vector of their target node IDs.

edgelist

Contains elements `group1` and `group2` containing each a data frame of edges adjacent to drug target nodes each. Each edgelist data frame contains columns `from`, `to` and `weight`.