R/method-groupOTU.R

Defines functions groupOTU.ggtree

##' @method groupOTU ggtree
##' @export
##' @importFrom tidytree groupOTU
groupOTU.ggtree <- function(.data, .node, group_name = "group", ...) {
    .data$data <- groupOTU(.data$data, .node, group_name, ...)
    return(.data)
}
YuLab-SMU/ggtree documentation built on Nov. 3, 2024, 4:15 p.m.