I have a dataframe with columns having different sample information. It looks like this:
Pathways s1_adjPval s1logFC s2_adjPval s2_logFC s3_adjPval s3_logFC
X1 0.001 0.6 0.25 -0.6 0.002 0.34
I want to plot the graph in such a way that I have colour of the heat map on the basis of logFC value, and star if the value in adjPval is less than 0.05 for individual samples.
I tried using annotations of heat map but I could not change on the basis of multiple column values. If someone has had such experience, will be grateful if you can share how to project on basis of multiple columns.
PS - Both R and Python visualization packages are okay for me.
Any help is greatly appreciated. Thanks