calculate_cell_embedding | R Documentation |
Calculation of the cell_space parameter needed by CPM
calculate_cell_embedding(
single_cell_object,
cell_type_annotations,
method = c("PCA", "UMAP", "TSNE")
)
single_cell_object |
A matrix with the single-cell data. Rows are genes, columns are samples. Row and column names need to be set. |
cell_type_annotations |
A vector of the cell type annotations. Has to be in the same order as the samples in single_cell_object. |
method |
Either "PCA", "UMAP" or "TSNE" |
A matrix with two dimensions. The rows are the cells, the columns are the two dimensions calculated by Seurat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.