convert_phylo: Function to subset and convert phyloseq data

View source: R/convert_phylo.R

convert_phyloR Documentation

Function to subset and convert phyloseq data

Description

Function to subset and convert phyloseq data

Usage

convert_phylo(data, select)

Arguments

data

a phyloseq object

select

Name of OTU or taxa to select, must match taxa name in data

Value

A data.frame object, with elements W as the observed counts, M as the sequencing depth, and the sample data with their original names.

Examples

data(soil_phylo)
convert_phylo(soil_phylo, "OTU.43")


corncob documentation built on Aug. 31, 2023, 9:06 a.m.