Description Usage Arguments Value Examples
View source: R/helper-functions.R
Creates a 'TreeViz' object from 'Seurat'
| 1 2 3 4 5 6 7 | createFromSeurat(
  object,
  check_metadata = FALSE,
  col_regex = "*snn*",
  columns = NULL,
  reduced_dim = c("TSNE")
)
 | 
| object | 'Seurat' class containing cluster information at different resolutions | 
| check_metadata | whether to metaData of 'Seurat' object for cluster information or not | 
| col_regex | common regular expression shared across all columns with cluster information | 
| columns | vector containing columns with cluster information | 
| reduced_dim | Vector of Dimensionality reduction information provided in 'Seurat' object to be added in 'TreeViz' (if exists) | 
'TreeViz' Object
| 1 2 3 4 | library(Seurat)
data(pbmc_small)
pbmc <- pbmc_small
treeviz<- createFromSeurat(pbmc, check_metadata = TRUE, reduced_dim = c("pca","tsne"))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.