phylogeny: Get the phylogenetic tree.

Description Usage Arguments Value See Also Examples

View source: R/accessors.r

Description

Get the phylogenetic tree.

Usage

1
phylogeny(biom)

Arguments

biom

A BIOM object, as returned from read.biom.

Value

A phylo class object of the tree in biom.

See Also

Other accessor functions: counts, info, metadata, nsamples, ntaxa, sample.names, taxa.names, taxa.ranks, taxonomy

Examples

1
2
3
4
5
6
    library(rbiom)
    
    infile <- system.file("extdata", "hmp50.biom", package = "rbiom")
    biom <- read.biom(infile)
    
    summary(phylogeny(biom))

cmmr/rbiom documentation built on Nov. 21, 2018, 10:04 a.m.