intersect_taxa: Returns the intersection of species and samples for the...

Description Usage Arguments Value See Also Examples

Description

This function is used internally as part of the infrastructure to ensure that component data types in a phyloseq-object have exactly the same taxa/species. It relies heavily on the Reduce function to determine the strictly common species.

Usage

1

Arguments

x

(Required). A phyloseq-class object that contains 2 or more components that in-turn describe species/taxa.

Value

Returns a character vector of only those species that are present in all species-describing components of x.

See Also

Reduce, intersect

Examples

1
2
3
#
## data(GlobalPatterns)
## head(intersect_taxa(GlobalPatterns), 10)


Search within the phyloseq package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.