annotate_network_df: A version of annotate_network, but which uses a dataframe as...

View source: R/network.R

annotate_network_dfR Documentation

A version of annotate_network, but which uses a dataframe as input.

Description

The annotate_network() function uses a vector of values, this extends that logic to add every column of a dataframe. I would like to make this function a little more fun vis a vis abilities to add colors and such.

Usage

annotate_network_df(network, df, default = NULL)

Arguments

network

input network.

df

input dataframe, columns are the new metadata, rows are the node-strings to search on.

default

Set a default?


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.