This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Unsupervised hierarchical clustering of DEG in Rstudio

Hi,

I want to perform unsupervised hierarchical clustering of DEG (output of edgeR) using Rstudio.

I found hclust and dist functions but not sure about which packages should I use.

I checked posts but that confused my mind more.

Could you please explain me the correct tools and methods for it?

hclust clustering unsupervised degclustering

What do you mean by "clustering of DEG"? Based on what? what would be the distance measure between DEGs?

Based on the expression profiles of differentially expressed genes obtained using EdgeR pakcage.

Maybe I'm missing something, but I still don't understand. Maybe if you elaborate on your experiment design and expected output, then I (or someone else) could help. In what case would you say two DEGs should be clustered together? Are you trying to perform some kind of co-expression analysis across conditions? Can you provide a link to a paper where this type on analysis was performed?

No problem - got you now. So you want to cluster DEGs and samples. You need to create a matrix where the cell in row i and column j corresponds to the expression level for DEG i in sample j. Once you have that, I think this is what you need.

1 answer

You'll likely find the dittoSeq dittoHeatmap() function of interest. It can make heatmaps from your DGEList object directly for whatever genes you specify (and it's color blind-friendly by default).

Log in to answer this question.