gather_graph_node: Gather graph node from data.frame

Description Usage Arguments Value Examples

View source: R/gather_graph_node.R

Description

Gather graph node from data.frame

Usage

1
gather_graph_node(df, index = NULL, value = tail(colnames(df), 1), root = NULL)

Arguments

df

a data.frame

index

grouping

value
root

root name

Value

a tibble

Examples

1
2
3
 library(ccgraph)
 data(OTU)
 nodes <- gather_graph_node(OTU,index = c("p","c","o"))

gaospecial/ccgraph documentation built on Dec. 18, 2019, 2:34 a.m.