pf.taxa: summarizes taxonomic composition at given factor

View source: R/pf.taxa.R

pf.taxaR Documentation

summarizes taxonomic composition at given factor

Description

summarizes taxonomic composition at given factor

Usage

pf.taxa(pf, taxonomy, factor = 1)

Arguments

pf

phylofactor object

taxonomy

taxonomy whose first column is tree tip labels in phylofactor object and whose second column is semicolon-delimited taxonomy

factor

positive integer. Which factor to summarize.

Examples

library(phylofactor)
data(FTmicrobiome)
pf <- FTmicrobiome$PF
tx <- FTmicrobiome$taxonomy

pf.taxa(pf,tx,1)

reptalex/phylofactor documentation built on Feb. 28, 2024, 3:19 p.m.