Description Usage Arguments Value Examples
View source: R/exportFromSCE.R
This function allows to export a SingleCellExperiment
(SCE
)
object to visualize in Cerebro.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
object |
|
assay |
Assay 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_SCE.rds",
package = "cerebroApp"))
exportFromSCE(
object = pbmc,
file = 'pbmc_SCE.crb',
experiment_name = 'PBMC',
organism = 'hg',
groups = c('sample','cluster'),
nUMI = 'nUMI',
nGene = 'nGene',
use_delayed_array = FALSE,
verbose = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.