uni_taxa_per_sample: Uquiness of features (OTUs/ASVs) per sample

Description Usage Arguments Value

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, per sample per taxa.

Usage

1
uni_taxa_per_sample(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 taxa that belongs to the 'tax_rank' provided), Sample (lists the samples), Count (no. of unique features belonging to that taxa - 'Taxa' - and found in only that sample - 'Sample').


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