Hello, I am new to bioinformatics. I am trying to make a heat map for my up and down-regulated genes for a given condition.
I want to show only up and down-regulated genes with or without showing gene names on the heat map. My gene list is 269 , so I am not sure if I can show all genes. I have cuffdiff output file and HTSeq counts. I also checked a lot of tutorials, but I could not find a code which fits my need.
I read DESeq2 documentation, but still can not make such a heat map. I have two biological replicates for each condition.
Thank you very much.
Update.
I tried to make a heatmap with bioinfokit on python from https://reneshbedre.github.io/blog/hmap.html using FPKM values from cuffdiff.
But when import my data I got error messages, which I can't solve.
This is the code on jupyter notebook from bioinfokit import analys, visuz
df = analys.get_data('hmap.csv').data
df.head()
and below is the error message.
Error: Provide correct parameter for data
AttributeError Traceback (most recent call last) <ipython-input-3-05cbc17535b8> in <module> 1 from bioinfokit import analys, visuz ----> 2 df = analys.get_data('hmap.csv').data
AttributeError: 'get_data' object has no attribute 'data'
Please help me with this error message. I would like to use this bioinfokit.
First time trying to make a post here, so it might not be very clear about what I am looking for.
Thanks for your patience.
Best wishes,
Thanks.
Once you have a heatmap, if hiding gene names is the problem, you can always find a way to tweak how row-names or column-names are shown. I'd recommend you look at ComplexHeatmap (might be a bit of an overkill here, but it is the most flexible when it comes to features).
post some example data and expected type of image (hand drawn, publication, online link etc).
Thank you very much for taking the time to reply. I really appreciate it.
Here is an example. This is FPKM value for genes at two conditions. There are 229 genes.
I want to make a heat map with gene names and hopefully, it will look like this.
Thank you very much.
I am learning to insert a figure here.
Dear all, Thank you very much for all kind help. As my data did not have N/A other values, I was able to make a heat map using above python code. But my advisor explicitly wants a heatmap shown above. Meaning, use different colors for different samples. I did not see this option and is it possible to get like that from complexheatmap? Also , can I make a heatmap using zFPKM values?
Thanks,
Colors depend on the data. In the figure above, different samples do not have different colors because they were assigned those colors, they have different colors because the data happens to be that way.
Yes, but your requirement is fundamentally flawed.
ComplexHeatmap allows for heatmap using any values.