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

Feeding output from getPerCellTypeDE into Heatmap #131

Open
Dimmiso opened this issue Feb 10, 2023 · 2 comments
Open

Feeding output from getPerCellTypeDE into Heatmap #131

Dimmiso opened this issue Feb 10, 2023 · 2 comments

Comments

@Dimmiso
Copy link

Dimmiso commented Feb 10, 2023

HI,
Thanks a lot for supporting CONOS! I am back to using this great tool and try now function getPerCellTypeDE. It looks very promising but I cannot find the way how to plot output genes on a heatmap.
plotDEheatmap instantly takes as input DE output list from getDifferentialGenes function, but not from getPerCellTypeDE. It is expected as structure of output lists from procedures differs.
I tried for plotDEheatmap set de <- NULL and manually feed in top gene list from getPerCellTypeDE via additional.genes parameter. But keeping de <- NULL triggers getDifferentialGenes from inside plotDEheatmap and plotting those genes.
Thus, if I am not mistaken there is no simple way to visualize results of getPerCellTypeDE function on heatmap. If I am right, can you please address this issue? It would be ideal to be able feeding output list from getPerCellTypeDE into plotDEheatmap.
Thanks a lot!
Dmitry

@evanbiederstedt
Copy link
Collaborator

Hi @Dimmiso

It might take me some time to get to this properly; please keep emailing me for a fix

That said, it would really help if you can reproducible code I could run to see the problem and fix it.

Thanks, Evan

@Dimmiso
Copy link
Author

Dimmiso commented Feb 17, 2023

Hi Evan,
thanks a lot for quick answer!
in the Rdata file (https://drive.google.com/file/d/1RPPAEntcQ82mX-sSqK4xvVl4-itUA9ei/view?usp=share_link) you will find two objects: de.info.simple - is a output from getDifferentialGenes and de.info is a output from getPerCellTypeDE. The former can be directly used as argument by plotDEheatmap command, but not the latter one.
If one compare structure each of the objects with arguments of plotDEheatmap function, it is obvious that output from getPerCellTypeDE cannot be taken as a input. On the other hand plotDEheatmap does not allow plot just external list of genes (only "additional.genes"). I think the simplest solution would be to make it possible to feed it customer gene list to be plotted by the heatmap function.
Thanks for your help! Dmitry

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

2 participants