Skip to content

Details are not stored by highly_variable_features_scanpy when flavor="seurat_v3" #1143

Description

@lazappi

Details of mean, variance etc. are not stored in .varm when flavor="seurat_v3". I think it is because this line checks for a "mean_bin" column which doesn't exist for that method.

if par.get("varm_name", None) is not None and "mean_bin" in out:
# drop mean_bin as mudata/anndata doesn't support tuples
data.varm[par["varm_name"]] = out.drop("mean_bin", axis=1)

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