Skip to content

Constructing a scarf Zarr dataset from scratch #56

Discussion options

You must be logged in to vote

Hi @jamestwebber,

This is absolutely possible.
I have a question first, is there any other reason than time-consumption that you would like to avoid the CR import functions?

If you haven't already, I would suggest you read this vignette about Zarr organization

So, a minimal Zarr hierarchy in Scarf looks like this (this data has 892 cells and 36601 features):
/
├── RNA
│ ├── counts (892, 36601) uint32
│ └── featureData
│ ├── I (36601,) bool
│ ├── ids (36601,) <U15
│ └── names (36601,) <U17
└── cellData
├── I (892,) bool
├── ids (892,) <U18
└── names (892,) <U18

The top folders RNA and cellData are simply Zarr groups. You must add the following two attributes to the RNA group like this:

z.R…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by parashardhapola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #54 on August 19, 2021 14:40.