make_network_object: Make network object

Description Usage Arguments Details Value Examples

Description

This uses the network package to coerce the adjacency matrix into a network object. It also adds the fold change, label, and relative ontology level parameters to each node in the network.

Usage

1
make_network_object(phenos, adjacency, hpo, colour_column = "fold_change")

Arguments

phenos

dataframe of phenotypes and values/ parameters.

adjacency

adjacency matrix (see ?adjacency_matrix) <matrix>

hpo

The HPO ontology data object

colour_column

The column from phenos that you wish to map to node colour

Details

It expects there to be a column of HPO IDs in the phenos dataframe called HPO_Id.

Value

A ggnetowrk graph/ network object of a subset of the RD EWCE results.

Examples

1
## Not run: make_network_object(phenos,adjacency,hpo, colour_column = "fold_change")

ovrhuman/HPOExplorer documentation built on Dec. 22, 2021, 5:21 a.m.