OMA icon indicating copy to clipboard operation
OMA copied to clipboard

Heatmap tools in SEtools package

Open antagomir opened this issue 3 years ago • 4 comments

The SEtools package provides SE integration for pheatmap and ComplexHeatmap packages, see the vignette.

Consider whether this would be useful to update/improve the current heatmap plotting examples in OMA. They rely on the same packages but this seems to provide added capabilities for SE objects.

Also includes the do.scale argument to scale heatmap rows, which correspond to the Z transformation that we so far did as a separate step for heatmaps.

antagomir avatar Jan 09 '22 23:01 antagomir

SEtools::sechm is deprecated, they have moved sechm into sechm package

I added example here PR: https://github.com/microbiome/OMA/pull/116

I'm wondering if we should have one chapter dedicated to visualization that have all these general tricks for heatmap, boxplot, jitterplot and so on. Now these heatmap examples are under community composition.

TuomasBorman avatar Jan 10 '22 09:01 TuomasBorman

There could be a dedicated chapter on visualization, collecting key tricks in one place. Also: we can actively cite the other resources and avoid too much duplication in examples. While keeping OMA relatively self-contained.

But I would not entirely remove the examples from other chapters, either, because visualization is an important tool to understand the data also in those other chapters.

sechm package seems useful!

antagomir avatar Jan 10 '22 09:01 antagomir

That's true. Currently, that heatmap example is quite long and it includes additional stuff (how to do complex hetamap with ggplot2 alone...), so that kind of tricks could have own chapter

TuomasBorman avatar Jan 10 '22 10:01 TuomasBorman

To do.

antagomir avatar Jun 29 '23 08:06 antagomir