R/AllClasses.R

##' Class "jplace"
##' This class stores phylogenetic placements
##'
##'
##' @name jplace-class
##' @docType class
##' @slot phylo phylo object for tree structure
##' @slot treetext newick tree string
##' @slot data associated data
##' @slot extraInfo extra information, reserve for merge_tree
##' @slot file tree file
##' @slot placements reserve for jplace file to store placement information
##' @slot info extra information, e.g. metadata, software version etc.
##' @importClassesFrom tidytree treedata
##' @exportClass jplace
##' @author Guangchuang Yu \url{https://guangchuangyu.github.io}
##' @keywords classes
setClass("jplace",
         representation = representation(
             placements = "tbl_df"
         ),
         prototype = prototype(
             placements = tibble()
         ),
         contains = "treedata"
         )


##' @importFrom tidytree treedata
##' @export
tidytree::treedata

Try the treeio package in your browser

Any scripts or data that you put into this service are public.

treeio documentation built on Nov. 21, 2020, 2:01 a.m.