edge_tax_comp {meconetcomp}R 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,
  sep = " -- "
)

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.

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.

sep

default " – "; The separator for two taxonomic names shown in the result.

Value

data.frame

Examples

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


[Package meconetcomp version 0.6.1 Index]