Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs_names and var_names added to fields #53

Merged
merged 4 commits into from
Jun 2, 2024

Conversation

FrancescaDr
Copy link
Collaborator

New feature: obs_names and var_names from AnnData can now be stored in PyG data by adding the variable to fields.

For example:

fields={
            "x": ["X"],
            "obs_names": ["obs_names"],
            "var_names": ["var_names"],
            "edge_index": ["uns/edge_index"],
            "y": ["obs/cell_type"],
        }

Note: additional update in basic.py because of numpy version 1.2.0 deprecated np.float

@selmanozleyen selmanozleyen merged commit 22ce1fd into theislab:main Jun 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants