Skip to content

Concatenating issue when plotting analytic_pearson_residuals layers #113

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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