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

splat.phyloseq.objects

Convert phyloseq-class into a named list of its non-empty components.


Description

This is used in internal handling functions, and one of its key features is that the names in the returned-list match the slot-names, which is useful for constructing calls with language-computing functions like do.call. Another useful aspect is that it only returns the contents of non-empty slots. In general, this should only be used by phyloseq-package developers. Standard users should not need or use this function, and should use the accessors and other tools that leave the multi-component object in one piece.

Usage

splat.phyloseq.objects(x)

Arguments

x

A phyloseq-class object. Alternatively, a component data object will work, resulting in named list of length 1.

Value

A named list, where each element is a component object that was contained in the argument, x. Each element is named according to its slot-name in the phyloseq-object from which it is derived. If x is already a component data object, then a list of length (1) is returned, also named.

See Also

merge_phyloseq

Examples

#

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.