Hi all,
Is there a way to compute a heatmap before and after applying RUVSeq? I guess in other words, is there a way to apply the RUV factors to the raw counts to generate the heatmap? I'm interesting in the clustering so even just a dendrogram will be sufficient.
Thanks for your help,
M.
Thanks Natasha for the comprehensive response, but none of these answer my question. I'm not asking how to make a heatmap. My question was how to apply RUV factors to raw counts before (and after) generating a heatmap.
Hi Michelle! It has been a long time since you asked the questions. I am running into the same problem and wondering if you have figured out the way to plot a heatmap after ruvseq correction. Thanks!
Hi everyone. I have the same "problem"/question. It would be interesting to know how to do what Michelle has asked. Thanks a lot!
I know it's late, but if anyone needs in future: you can use
limma::removeBatchEffect()
function from limma R package on your normalized log counts (you can useedgeR::cpm()
for this using the log = TRUE). Please read those functions documentations.