Heatmap
Converting data to panel data
R Script for heatmap
library(readxl)
data <- read_excel(file.choose())
library(ggplot2)
library(ggthemes)
library(ggrepel)
attach(data)
p <- ggplot(data,aes(x=Species,y=Category,fill=Values))+
geom_tile()+
scale_fill_continuous(low="light pink",high="red")+
geom_text_repel(aes(label=Values))+
theme_classic()
p
0 Comments