Create an Rds file for the full heart maturation dataset
✓ Published0🌍 Public
FFloWuenne
Last edited Apr 26, 2018
Created on Apr 23, 2018
This example demonstrates how to convert a Seurat single-cell RNA sequencing object into a compact RDS file for a Shiny visualization app. It shows the creation of a custom S4 class that bundles tSNE coordinates, normalized expression data, cell metadata, and the top 50 differentially expressed markers per cluster. Using the dplyr and tidyr libraries for data manipulation, the script extracts the tSNE embeddings and cluster identities from the Seurat object, then merges them with metadata. The resulting clustering_module object is saved via saveRDS, enabling efficient downstream interactive exploration of heart maturation data.
AI-generated description