v_colored_ml
v_colored_ml.RdAssigns a color to each node of a multilayer network depending of their taxonomic level, for example, the phylum.
Examples
library(seqtime)
# Loads this library to create a vector with colors
library (viridis)
data("mlnet_dstoolAB")
g <- v_colored_ml (g.list = mlnet_dstoolAB, T_table = david_stool_lineages, g_tax = "Order", p_tax = "Genus", g_colors = c)
#> Error in `[.data.frame`(T_table, , g_tax): undefined columns selected