This function takes in phyloseq object, association matix, p value matrix and create a combined OTU-OTU and OTU-Phenotype network. User can select model to define OTU-Phontype assocaition.

taxacolor(phyobj, coloredby = "x")

Arguments

phyobj

A phyloseq object which combined OTU count, taxonomy and metadata

coloredby

Select a taxonomic rank for coloring nodes in the network diagram. Possible option: "Kingdom","Phylum","Class","Order","Family","Genus","Species"

Value

phyobj2 An updated phyloseq object with color information