Skip to content

Concatenating issue when plotting analytic_pearson_residuals layers #113

@ngvananh2508

Description

@ngvananh2508

when I ran these code which followed Single-cell best practices:

analytic_pearson = sc.experimental.pp.normalize_pearson_residuals(adata, inplace = False)
adata.layers["analytic_pearson_residuals"] = csr_matrix(analytic_pearson["X"])
p2 = sns.histplot(adata.layers["analytic_pearson_residuals"].sum(1), bins = 100, kde = False, ax = axes[1])

it appears this error: ValueError: No objects to concatenate.

I am running seaborn version 0.12.2 and scanpy version 1.9.3

Can anyone please help me with this issue?

Thank you so much!

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