Skip to content

why len(unique) <= len(res) // 100 #346

Open

Description

@z-spider

Hi, how should we distinguish between continuous and categorical variables? I don't understand the following line of code.

if len(unique) <= len(res) // 100:

In my case, len(unique) <= len(res) // 100, but the variable is 'total_counts per spot'

Activity

  1. LucaMarconato commented on Feb 10, 2025

    @LucaMarconato
    Member

    @giovp can you share your thoughts on this please? The code was inherited from squidpy I believe.

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