Hi,
I am trying to create a heatmap of differentially expressed lncRNAs in normal, atypical, dcis, and invasive breast cancer patient samples. I have created a heatmap from the counts file but that seems to be the cumulative count of the 4 conditions for each lncRNA and the lncRNAs with the highest total count are represented first or ranked first. I would like to see how the expression (gene count) changes between the 4 conditions for each lncRNAs to see how they are going up or down in expression from normal breast tissue to breast cancer. Is there a way to achieve that? If someone is able to help with this, I would truly appreciate it.
Thank you will try this
So what is the problem? You just opened a new question with identical content? This answer tells you what to do, you must scale your data to get values relative to the mean of each row. That is what the
scale
part does.Basically if you have your log2 expression values or vst, do
scaled <- t(scale(t(log2Values)))
to transform them to the standardized scale. From there on you can plot them, check theComplexHeatmap
package, it has an extensive manual with plenty of example code. Ask if there are questions, please do not open identical questions, that is utterly disrespectful towards the users who took the time here to answer you since you pretend their posts never happened.