melt_physeq: Melt phyloseq object

Description Usage Arguments Value

View source: R/miscellaneous.R

Description

Given a phyloseq object with 'otu_table', 'tax_table', 'sam_data' (required) it gives the data.frame melted with all the OTU/ASV (tidy), taxonomic and sample data. Same functionality of the function 'psmelt()' from the 'phyloseq' R package, but fastest as it uses 'data.table' R package for the task.

Usage

1
melt_physeq(physeq)

Arguments

physeq

phyloseq-class object with 'otu_table', 'tax_table', 'sam_data' slots (required).

Value

A data frame with with all the OTU/ASV (tidy), taxonomic and sample data. The same output to as 'psmelt()' function (from 'phyloseq').


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