I would like to do a unsupervised heatmap using deseq2 counts.
If I use :
topVarGenes <- order(rowVars(assay(rld)),decreasing=TRUE)[1:1000]
mat <- assay(rld)[ topVarGenes, ] mat <- mat - rowMeans(mat) pheatmap(mat, annotation_col=df)
Which is the right way to do? Using scale="row" or scale="none"?
What do you mean by 'right way'?
I mean what is the way to perform the unsupervised analysis starting from DeSeq2 package.