as_seurat | R Documentation |
SeuratObject
Coerce an object into a SeuratObject
Coerce a tof_tbl into a SeuratObject
as_seurat(x, ...)
## S3 method for class 'tof_tbl'
as_seurat(
x,
channel_cols = where(tof_is_numeric),
reduced_dimensions_cols,
metadata_cols = where(function(.x) !tof_is_numeric(.x)),
split_reduced_dimensions = FALSE,
...
)
x |
A tof_tbl |
... |
Unused. |
channel_cols |
Unquoted column names representing columns that contain single-cell protein measurements. Supports tidyselect helpers. If nothing is specified, the default is all numeric columns. |
reduced_dimensions_cols |
Unquoted column names representing columns that contain dimensionality reduction embeddings, such as tSNE or UMAP embeddings. Supports tidyselect helpers. |
metadata_cols |
Unquoted column names representing columns that contain metadata about the samples from which each cell was collected. If nothing is specified, the default is all non-numeric columns. |
split_reduced_dimensions |
A boolean value indicating whether the
dimensionality results in x should be split into separate slots in the resulting
|
A SeuratObject
A SeuratObject
.
NULL
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.