color_nodes | R Documentation |
This function colors network nodes by phylum and by edge between cluster
using the defaul bngal
color schemes. A custom list of phylum colors can
optionally be provided (see phylum.colors
option).
color_nodes(binned.tax, clusters.to.color, phylum.colors)
binned.tax |
Output from |
clusters.to.color |
Output from |
phylum.colors |
Optional Dataframe with hex color codes assigned to each phylum in the Silva 16S rRNA gene database (v. 138). Default color scheme provided, but if a custom color scheme is desired, columns must be the following:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.