uni_taxa_rank: Uquiness of features (OTUs/ASVs)

Description Usage Arguments Value

View source: R/alpha_div.R

Description

Given a phyloseq object and a taxonomic rank (character) it gives the uniquess of features (OTUs/ASVs), i.e., the number of features (OTUs/ASVs) observed in one sample only.

Usage

1
uni_taxa_rank(physeq, tax_rank)

Arguments

physeq

phyloseq-class object.

tax_rank

taxonomic rank (character). One of the taxonomic ranks among the column names of 'tax_table()' of the 'physeq' object given.

Value

A data frame with Taxa (lists the unique taxa that belongs to the 'tax_rank' provided), Unique_Taxa (no. of features - OTUs/ASVs - that appear only once, in one sample), Total_Taxa (no. of distinct features), Percentage_unique _Taxa (percentage of Unique_Taxa across the Total_Taxa).


antonioggsousa/micrUBIfuns documentation built on Nov. 14, 2020, 1:40 a.m.