Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcell_mc_plot_marks creates incorrect annotation colorbar when using focus_mcs #78

Open
orimosko opened this issue Sep 22, 2022 · 0 comments

Comments

@orimosko
Copy link

Hi,

I am trying to create a heatmap of certain cell markers for a subpopulation of metacells (myeloid cells, for example).
However, the colorbar in the bottom showing the current annotation of the metacells seems to be completely out of order.
This problem remains regardless of which subsets of cells I choose.

An example of the code I run:
mcell_mc_plot_marks(mc_id="singlets_mc_f",
gset_id="singlets_markers",
mat_id="singlets",
fig_fn="myeloid_markers.png",
focus_mcs=85:126,
gene_list = myeloid_marker_genes)

Here is a screen clipping or the colorbar of the relevant cells when I don't specify focus_mcs:
image

And here's how the colorbar looks when I do select focus_mcs:
image

I would greatly appreciate your help I looked over the source code and couldn't find the source of the problem,
Ori

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

No branches or pull requests

1 participant