Description Usage Arguments Value
This function extracts data from a given seurat object for import into Loupe Cell Browser. It generates two csv files - one containing the coordinates for all the cells for the reduction of interest and one containing meta-data information such as clusters, categories, etc.
1 | seurat2cloupe(object, reduction, dims, metadata, keyword, opdir)
|
object |
A Seurat Object |
reduction |
The reduction to extract the coordinates for. 'tsne' or 'umap' |
dims |
The number of dimensions to extract for a give reduction |
metadata |
The column name in the seurat object metadata table to extract |
keyword |
A keyword for the filename |
opdir |
The output directory in which the files will be written |
Two .csv files written to the specified output directory - data4cloupe_keyword.csv contains the reduction coordinates and cluster4cloupe_keyword.csv contains the metadata information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.