Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getslots.phyloseq

Return the non-empty slot names of a phyloseq object.


Description

Like getSlots, but returns the class name if argument is component data object.

Usage

getslots.phyloseq(physeq)

Arguments

physeq

A phyloseq-class object. If physeq is a component data class, then just returns the class of physeq.

Value

identical to getSlots. A named character vector of the slot classes of a particular S4 class, where each element is named by the slot name it represents. If physeq is a component data object, then a vector of length (1) is returned, named according to its slot name in the phyloseq-class.

See Also

merge_phyloseq

Examples

#
 data(GlobalPatterns)
 getslots.phyloseq(GlobalPatterns)
 data(esophagus)
 getslots.phyloseq(esophagus)

phyloseq

Handling and analysis of high-throughput microbiome census data

v1.34.0
AGPL-3
Authors
Paul J. McMurdie <joey711@gmail.com>, Susan Holmes <susan@stat.stanford.edu>, with contributions from Gregory Jordan and Scott Chamberlain
Initial release
2019-04-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.