Entering edit mode
20 months ago
joana.maclean
•
0
Hi community,
I'm having troubles converting my KO/KEGG identifiers into human-read gene names for this heatmap:
The data matrix of Z transformed gene counts has the KEGG identifiers as row names and my sample names as column names.
How do I pass a list/dataframe? of the translated numbers to the heatmap or my original matrix before plotting the heatmap?
Thank you!
Which heatmap software are you using? Pheatmap? Complexheatmap? Default or something built in with DESeq2?
What I'd recommend doing is using BiomaRt to convert KEGG to Gene Symbol, then use the
label_annotation
within Complexheatmap. The documentation is a little dense but it was easy enough to follow.