How to change KEGG identifiers to human-read gene names in heatmap function R
0
0
Entering edit mode
6 weeks ago

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!

R DESEQ2 KEGG heatmap • 175 views
0
Entering edit mode

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.