Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

GeneVsCountsScatter not responding to count_transform argument #4

@spficklin

Description

@spficklin

When running the following with raw counts that have been upper quantize transformed:

selected_genes = gsc.gene_sets["Treatment"].gene_support()[:50]
hv.output(backend='bokeh')
plot = gsf.plots.gem.GeneVsCountsScatter(gsc, selected_genes=selected_genes, count_variable='uq_counts',
                                         hue="Treatment", count_transform=lambda counts: np.log2(counts.where(counts > 0)))
plot

The following plot appears:

image

It seems the count_transform argument is not being applied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions