Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed May 30, 2024
1 parent e6e1d50 commit 17151be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17151be

Please sign in to comment.