Skip to content

Storing sub-obs (variable length per observation data) #609

@keller-mark

Description

@keller-mark

Hi,
We have a use case related to #237 but slightly different.

We would like to store a second obs array ("sub-obs", where an observation is an individual transcript in a MERFISH experiment), but related to the first obs array (where an observation is an individual cell).

Has your team thought about how to deal with this use case?

I am thinking something like this:

Untitled presentation

where the transcript ID and cell ID columns in the sub-obs can be like foreign keys into the main obs dataframe.

Is it possible to add a differently-shaped obs and obsm to the same AnnData store?

cc @ilan-gold

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions