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)
}

Try the ggtree package in your browser

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

ggtree documentation built on Nov. 15, 2020, 2:09 a.m.