getCountMtxFromSeurat Extract count matrix from Seurat object (V4 and V5 compatible)
Source:R/pipelineCNA.R
getCountMtxFromSeurat.RdThis function extracts the raw count matrix from a Seurat object, supporting both Seurat V4 and V5 data structures. It prioritizes V4 format.
Examples
if (FALSE) { # \dontrun{
count_mtx <- getCountMtxFromSeurat(seurat_obj)
results <- pipelineCNA(count_mtx)
} # }