how to plot one-dimeson heatmap using R

0

I am intersted in one perticular gene, and I want to see the correlation of this gene and other hundreds of genes, so I generate a one-dimension matrix like this:
"""
geneA--interested_gene 0.86
geneB--interested_gene 0.23
........
geneZ--interested_gene -0.15
"""
How to plot heatmap using this data?


R


heatmap

• 24 views



Source link