From 17151bea9ea1a9cf01378ced0b86f599543aae2c Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Thu, 30 May 2024 06:46:43 -0700 Subject: [PATCH] update README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 34deb3e..f6b692c 100644 --- a/README.md +++ b/README.md @@ -176,6 +176,14 @@ Want to contribute your own dataset to this package? It's easy! Just follow thes ) ``` + Or if you want to save an `AnnData` object, easily convert that into a `SingleCellExperiment` object: + + ```python + from singlecellexperiment import SingleCellExperiment + + sce = SingleCellExperiment.from_anndata(YOUR_ANNDATA_OBJ) + ``` + 2. Assemble the metadata for your dataset. This should be a dictionary as specified in the [Bioconductor metadata schema](https://github.com/ArtifactDB/bioconductor-metadata-index). Check out some examples from `fetch_metadata()` Note that the `application.takane` property will be automatically added later, and so can be omitted from the list that you create. ```python