startTreeviz {scTreeViz} | R Documentation

## Start treeviz app and create `TreeVizApp` object to manage connection.

### Description

Start treeviz app and create `TreeVizApp` object to manage connection.

### Usage

    startTreeviz(
      data = NULL,
      genes = NULL,
      top_genes = 100,
      host = "http://epiviz.cbcb.umd.edu/treeviz",
      register_function = .register_all_treeviz_things,
      delay = 2L,
      ...
    )

### Arguments

`data` | TreeViz object to explore
`genes` | (character vector) genes (rownames) to include in heatmap
`top_genes` | (integer) number of top variable genes to include in the heatmap
`host` | (character) host address to launch.
`register_function` | (function) function used to register actions and charts on the treeviz app.
`delay` | (integer) number of seconds to wait for application to load in browser
`...` | additional parameters passed to `startEpiviz`.

### Value

An object of class `TreeVizApp`

### See Also

`TreeVizApp`

### Examples

    # see package vignette for example usage
    app <- startTreeviz(non_interactive=TRUE, open_browser=FALSE)
    app$stop_app()

[Package scTreeViz version 1.0.0 Index]