Save raw UMI counts and metadata for each object
✓ Published0🌍 Public
FFloWuenne
Last edited May 1, 2018
Created on May 1, 2018
This example saves raw UMI counts and metadata for each timepoint in a single-cell heart maturation dataset. It iterates over six developmental stages, reading a Seurat object for each and extracting the raw UMI matrix and metadata. The code uses base R functions `as.matrix()` and `readRDS()`, then writes tab-separated files with `write.table()`. The visualization shows how raw count matrices are paired with their corresponding cell annotations, facilitating downstream differential expression analysis. The approach relies on Seurat’s stored raw data and metadata slots, producing separate DGE and metadata files per timepoint.
AI-generated description