Documentation Index
Fetch the complete documentation index at: https://mintlify.com/satijalab/seurat-wrappers/llms.txt
Use this file to discover all available pages before exploring further.
ExportToCellbrowser() exports a Seurat object as a UCSC Cell Browser dataset. It creates all required files (expression matrix, metadata, cell embeddings, marker genes) in the specified directory and optionally launches a local Cell Browser server.
Syntax
Parameters
A Seurat object to export.
Output directory where Cell Browser files will be written.
Name of the Cell Browser dataset. Defaults to
Project(object).Names of dimensional reductions to export. If
NULL, exports all available reductions.Path to a pre-computed markers file. If
NULL and skip.markers = FALSE, markers are computed automatically.Metadata column to use as cell cluster labels.
If provided, also builds the Cell Browser HTML in this directory for direct serving.
If provided, launches a local Cell Browser server on this port after export.
Export the expression matrix in
.mtx.gz format (sparse). Automatically enabled for very large matrices.Metadata columns to include. If
NULL, all metadata columns are exported.Display names for the metadata fields specified in
meta.fields.Which expression matrix to export. One of
"counts", "data", or "scale.data".Number of top markers per cluster to include in the exported markers file.
Skip marker gene computation and export.
Skip expression matrix export (for incremental updates).
Skip metadata export.
Skip dimensional reduction export.
Returns
Invisibly returnsNULL. Creates the following files in dir:
exprMatrix.tsv.gz(ormatrix.mtx.gz) — expression matrixmeta.tsv— cell metadata<reduction>.coords.tsv.gz— cell coordinates for each reductionmarkers.tsv— marker genes per clustercellbrowser.conf— Cell Browser configuration file
StopCellbrowser()
Stops a running Cell Browser server started byExportToCellbrowser().