R/cyto_tree.R

Defines functions cyto_tree

#' @import htmlwidgets
#' @export
cyto_tree <- function(g, width = NULL, height = NULL) {

  # pass the data and settings using 'x'
  x <- list(
    data = g,
    settings = list()
  )

  # create the widget
  htmlwidgets::createWidget("cyto_tree", x, width = width, height = height)
}
machow/straw documentation built on Sept. 9, 2020, 12:40 a.m.