Description Usage Arguments Value Examples
View source: R/TemporaObjClass.R
Imports gene expression matrix and other metadata from a seurat object
1 2 3 4 5 6 7 8 9 10 11 | ImportSeuratObject(
seuratobj,
assayType = "",
assaySlot = NA,
clusters,
timepoints,
timepoint_order,
cluster_labels = NULL,
cell_markers = NULL,
threshold = 0.9
)
|
seuratobj |
A Seurat or SingleCellExperiment object containing the normalized gene expression matrix and clustering result |
assayType |
A length-one character vector representing the assay object in which the expression data is stored in the input object. For Seurat v1 or v2 objects, set this to "". For Seurat v3 objects, this is often "RNA". For SingleCellExperiment objects, this is often "logcounts". |
assaySlot |
An optional length-one character vector representing the
slot of the Seurat v3 |
clusters |
Name of the column in the meta.data dataframe containing the cluster identity of all cells in the dataset |
timepoints |
Name of the column in the meta.data dataframe containing the collection time of all cells in the dataset |
timepoint_order |
An ordered vector of timepoint names from early to late |
cluster_labels |
(Optional) A vector of cluster annotations (cell types, cell states, cell cycles, etc.), ordered alphanumerically by cluster names. If NULL and |
cell_markers |
(Optional) A list of possible cell types found in the dataset and their marker genes to be used for automatic cell type identification. If NULL and no |
threshold |
(Optional) Threshold of GSVA score quantile. Cell types with GSVA scores in this quantile or higher compared to all other cell type scores for the same cluster would be included in cluster label. Numeric between 0-1, default to 0.9. |
A Tempora object containing the expression matrix and metadata
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.