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)
}
GuangchuangYu/ggtree documentation built on Oct. 31, 2024, 10:10 a.m.