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

assign-phy_tree

Assign a (new) phylogenetic tree to x


Description

Assign a (new) phylogenetic tree to x

Usage

phy_tree(x) <- value

## S4 replacement method for signature 'phyloseq,phylo'
phy_tree(x) <- value

## S4 replacement method for signature 'phyloseq,phyloseq'
phy_tree(x) <- value

Arguments

x

(Required). phyloseq-class

value

(Required). phylo-class, or phyloseq-class

Examples

#
data("esophagus")
# An example of pruning to just the first 20 taxa in esophagus
ex2a <- prune_taxa(taxa_names(esophagus)[1:20], esophagus)
# The following 3 lines produces an ex2b that is equal to ex2a
ex2b <- ex2a
phy_tree(ex2b) <- phy_tree(esophagus)
identical(ex2a, ex2b)

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.