save the expression matrix and metadata of a Seurat object
1 2 3 4 5 6 7 8 9 10 | save_to_csv(
x,
directory = NULL,
assay = NULL,
slot_data = "data",
select_cells = NULL,
select_genes = NULL,
label = "",
save_result = T
)
|
x |
a seurat object |
directory |
where the results are saved |
select_cells |
which cells to be saved |
select_genes |
which genes to be saved, or the number of top variably expressed genes |
save_result |
if FALSE, the expression matrix is the output. If no directory is supplied, this argument is set FALSE automatically |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.