edge_tax_comp: Taxonomic sum of linked nodes in edges across networks

View source: R/edge_tax_comp.R

edge_tax_compR Documentation

Taxonomic sum of linked nodes in edges across networks

Description

Taxonomic sum of linked nodes in edges across networks.

Usage

edge_tax_comp(network_list, taxrank = "Phylum", label = "+", rel = TRUE)

Arguments

network_list

a list with multiple networks; all the networks should be trans_network object created from trans_network class of microeco package.

taxrank

default "Phylum"; Which taxonomic level is used for the sum of nodes in edges.

label

default "+"; "+" or "-" or c("+", "-"); the edge label used for the selection of edges for the sum.

rel

default TRUE; TRUE represents using ratio, the denominator is the number of selected edges; FALSE represents the absolute number of the sum of edges.

Value

data.frame

Examples

data(soil_amp_network)
test <- edge_tax_comp(soil_amp_network)
# test is a microtable object


meconetcomp documentation built on June 23, 2024, 9:06 a.m.