taxacolor: Function to assign color to the phyloseq object

View source: R/taxacolor.R

taxacolorR Documentation

Function to assign color to the phyloseq object

Description

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.

Usage

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


ravinpoudel/PhONA documentation built on Jan. 30, 2023, 5:12 p.m.