Description Usage Arguments Value Examples
View source: R/TemporaObjClass.R
Create new Tempora object from a processed gene expression matrix
1 2 3 4 5 6 7 8 | CreateTemporaObject(
exprMatrix,
meta.data,
timepoint_order,
cluster_labels = NULL,
cell_markers = NULL,
threshold = 0.9
)
|
exprMatrix |
A normalized gene expression matrix containing cells from all timepoints of the time-series study. Batch effect correction is highly recommended before normalization. |
meta.data |
A dataframe of meta data for all cells in the expression matrix. Each column is a feature and each row stores single cell information. At minimum, this dataframe should contain two columns: a "Clusters" column storing the clustering identity and a "Timepoints" column storing the timepoint when each cell comes from |
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 | ## Not run: tempora_dara <- CreateTemporaObject(exprMatrix, meta.data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.