Description Usage Arguments Value Examples
View source: R/exportFromSeurat.R
This function allows to export a Seurat object to visualize in Cerebro.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | 
object | 
 Seurat object.  | 
assay | 
 Assay to pull expression values from; defaults to   | 
slot | 
 Slot to pull expression values from; defaults to   | 
file | 
 Where to save the output.  | 
experiment_name | 
 Experiment name.  | 
organism | 
 Organism, e.g.   | 
groups | 
 Names of grouping variables in meta data
(  | 
cell_cycle | 
 Names of columns in meta data
(  | 
nUMI | 
 Column in   | 
nGene | 
 Column in   | 
add_all_meta_data | 
 If set to   | 
use_delayed_array | 
 When set to   | 
verbose | 
 Set this to   | 
No data returned.
1 2 3 4 5 6 7 8 9 10 11 12 13  | pbmc <- readRDS(system.file("extdata/v1.3/pbmc_seurat.rds",
  package = "cerebroApp"))
exportFromSeurat(
  object = pbmc,
  file = 'pbmc_Seurat.crb',
  experiment_name = 'PBMC',
  organism = 'hg',
  groups = c('sample','seurat_clusters'),
  nUMI = 'nCount_RNA',
  nGene = 'nFeature_RNA',
  use_delayed_array = FALSE,
  verbose = TRUE
)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.