Closed pakiessling closed 1 year ago
Hi @pakiessling,
The volcano plot is informative to an extent, to atleast make sure how log-FC is reflecting cluster pair significance. But I think the enrichment heatmap for the unmerged versus merged data is more informative.
I am wondering what this looks like? E.g. code below:
cc.pl.enrich_heatmap(data, 'leiden_merged', figsize=(4,4), scale_cols=True)
p_cut=0.00045 , 15 markers
Before merge:
After merge:
I think I actually like what it did, just have to look more into the huge cluster 14
I think n_markers is way too high for code-scoring. Please try with 5-8. I think the above is dramatically under-clustered with those parameters.
Thank you, I started with the default amount of marker genes, but it kept forcing me to increase the amount of markers becuase of identical patterns in clusters
Ah right, sorry about this, that warning is actually not really an issue, and can be safely ignored.
Another user mentioned this in the first issue, and I have correct it on the github main branch, but haven't yet updated the pip version.
Could we try with the lower number of marker genes anyhow?
Looks much more reasonable with lower markers and also cleaning the data more beforehand
Thanks for the tool, looks very promising.
I am trying it out for my data and the volcano plot looks like this for p=0.045:
I got more cells with - log-FC than in your Pancreas example.
Does this suggest I should decrease my p_cut (by some orders of magnitude) to remove most of the negativ log-FC?
p_cut = 0.00045