df2net_tree: Transform a dataframe to a network edgelist.

View source: R/3-4.other_plot.R

df2net_treeR Documentation

Transform a dataframe to a network edgelist.

Description

Transform a dataframe to a network edgelist.

Usage

df2net_tree(test, fun = sum)

Arguments

test

df

fun

default: sum

Value

metanet

Examples

data("otutab", package = "pcutils")
cbind(taxonomy, num = rowSums(otutab))[1:20, ] -> test
df2net_tree(test) -> ttt
plot(ttt)
if (requireNamespace("ggraph")) plot(ttt, coors = as_circle_tree())

MetaNet documentation built on June 26, 2025, 5:07 p.m.