This is a test version of Biostars. For the public version, visit https://www.biostars.org.
pheatmap troubles...!!

Hi there,

I'm currently analyzing my RNA-seq data.

Now that I've got my GSVA result, I want to draw a clustering heatmap with it. I'm using pheatmap.

> pathway_heatmap <- pheatmap::pheatmap(gsva_results, 
annotation_col = annot_df, # Add metadata labels!
show_colnames = FALSE, # Don't show sample labels
)

When I run this script, the function seems to run well without any error code coming out. But eventually, there is no image output.

If you know what causes this kind of problem or what I should re-check, please help.

Thank you a lot!

gsva r rstudio pheatmap heatmap

Did you use silent = TRUE in your code?

1 answer

It should still generate the heatmap even though you are assigning it to a variable:

myheatmap <- pheatmap::pheatmap(matrix(runif(200),20,20))

ffff

Please ensure that you have no open devices by running dev.off() a few times, until it returns an error, and then retry pheatmap()

Kevin

Log in to answer this question.