View source: R/get_data_for_scigenex.R
get_data_for_scigenex | R Documentation |
This function fetchs an expression matrix from a file, dataframe or Seurat object.
get_data_for_scigenex(data = NULL, which_slot = c("data", "sct", "counts"))
data |
A |
which_slot |
One of "SCT", "data" or count. The slot to extract from the seurat object to perform clustering analysis. SCT is the recommended method from Seurat package when working with spatial transcriptomics data. |
An expression matrix.
## with an artificial dataset
m <- create_3_rnd_clust()
res <- get_data_for_scigenex(data=m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.