phy_BasicStats: Basic Phyloseq stats

phy_BasicStatsR Documentation

Basic Phyloseq stats

Description

Generate a data frame with prevalence, mean abundance and variance of the taxa in a phyloseq object

Usage

phy_BasicStats(physeq, transform)

Arguments

physeq

Either a phyloseq or a otu.table or a matrix object. If you have a matrix, make sure taxa are on the rows

transform

Any transformation function allowed by phy_transform

Value

A data.frame object

Examples


data(GlobalPatterns)
gp_genus <- tax_glom(GlobalPatterns, "Genus")
basic_statistics <- phy_BasicStats(gp_genus, transform = "clr")


g-antonello/gautils documentation built on May 3, 2024, 10:51 a.m.