percent.classified:
Calculate Percent of OTUs Classified at a Given Taxonomic Rank
Description
This function consumes an OTU table, and a vector containing
taxnomic ranks, then returns what percent of OTUs in the given
table are classified at each taxonomic rank.
data(ITS1, ITS2)
data <- list(ITS1=ITS1, ITS2=ITS2)
# find what percent of OTUs classified at family and genus # levels percent.classified(data=data, ranks=c("f","g"))