Hi, I am doing DE miRNA analysis using EdgeR and I need to make a heatmap for the top 50 DE miRNAs, or the most VARIABLE ones.
EdgeR userguide suggests: logcounts <- cpm(y, log=TRUE)
where y is the DGEList object.
The problem is with labelling, I want the names of miRNAs to show on the heatmap but " y" object takes no names, only counts matrix, and I'm not sure how to annotate it with the miRNA names. Any help?
I cannot follow. With
y
I guess you mean the DGEList object? Please try to explain better what the problem is, best would be to show code.The output from your command should have row names containing the gene names, assuming you provided that information when you made the DGEList. What are you using to make the heatmap? Pretty much any heatmap package will have a parameter to show the row names.
The resulting heatmap shows some random numbers as gene names instead of my gene names: