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

GeneVsCountsScatter not responding to count_transform argument #4

Open
spficklin opened this issue Jul 8, 2020 · 0 comments
Open

Comments

@spficklin
Copy link
Member

spficklin commented Jul 8, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant