Skip to content

Commit

Permalink
Update V4 to V5
Browse files Browse the repository at this point in the history
  • Loading branch information
brianraymor committed Dec 14, 2023
1 parent 1d7f390 commit 30c3b8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/4.0.0/seurat_encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Schema version: 4.0.0

## Overview

All data submitted to [CELLxGENE Discover](https://cellxgene.cziscience.com/) is automatically converted to a Seurat V4 object that can be loaded by the R package [Seurat](https://satijalab.org/seurat/).
All data submitted to [CELLxGENE Discover](https://cellxgene.cziscience.com/) is automatically converted to a Seurat V5 object that can be loaded by the R package [Seurat](https://satijalab.org/seurat/).

This document describes the Seurat encoding for the converted data. <u><strong>Readers should be familiar with the [schema](./schema.md).</strong></u>

## Encoding

The Seurat V4 object is stored using the [native serialization RDS format](https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Serialization-Formats). The [serialization interfaces](https://stat.ethz.ch/R-manual/R-devel/library/base/html/readRDS.html) allow the object to be serialized to and restored from disk.
The Seurat V5 object is stored using the [native serialization RDS format](https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Serialization-Formats). The [serialization interfaces](https://stat.ethz.ch/R-manual/R-devel/library/base/html/readRDS.html) allow the object to be serialized to and restored from disk.

A `local.rds` file downloaded from the cellxgene Data Portal can be read into an R session with the following code.

Expand Down

0 comments on commit 30c3b8b

Please sign in to comment.