# Example data frame
data <- data.frame(Gene = c("Gene1", "Gene2"),
Term1 = c(10, 20),
Term2 = c(5, 15),
Total = c(15, 35),
PubMed_Rank = c(1, 2))
plot_heatmap(data, file_directory = tempdir(), export = FALSE)
Run the code above in your browser using DataLab