R/z_tree.R

Defines functions get_species

Documented in get_species

#' Get all species in the study
#'
#' @param con configuration
#' @export
#' @return vector of all species
get_species <- function(con){
  ape::read.tree(con@input@tree)$tip.label %>%
    gsub(pattern=" ", replacement="_")
}
lijing28101/fagin2 documentation built on Jan. 8, 2022, 3:15 a.m.