Hello everyone!
I have a list of pathways from GSEA analysis (RNA-Seq data) and I want to plot a heatmap of genes associated with pathways, showing distinctly each pathway in the heatmap. Can somebody help me with this
install.packages("pheatmap") library(pheatmap) setwd("/Users/data_analysis/results") data <- read.table(file = "log2cpm.tsv", header = T, sep = "\t") pheatmap(mat = data)
Check out clustergrammer from Avi Ma'ayan's lab.
Please include a link when you are recommending a tool. There can be programs with similar names.
https://maayanlab.cloud/clustergrammer/
It's a web-based tool (can also be a python jupyter widget) that I find useful for exploring a pathway x gene matrix or a sample x gene matrix.
Hi, you can take the list of GSEA pathways and then use these via GSVA (https://github.com/rcastelo/GSVA) to create a heatmap.
You have not indicated that you require assistance with coding; so, I will end my answer right here.
Kevin
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Please include a link when you are recommending a tool. There can be programs with similar names.
https://maayanlab.cloud/clustergrammer/
It's a web-based tool (can also be a python jupyter widget) that I find useful for exploring a pathway x gene matrix or a sample x gene matrix.