Hi,
Trying to generate a heatmap with a Monocle function called " plot_pseudotime_heatmap". But, I could not succeed due to the following error.
Moncle pacckages verson"2.16.0"
#Clustering Genes by Pseudotemporal Expression Pattern
loading required libraries
library(Seurat)
library(cowplot)
library(monocle)
library(RColorBrewer)
library(pheatmap)
library(dplyr)
library(ComplexHeatmap)
my_pseudotime_de %>% arrange(qval) %>% head() %>% select(gene_short_name) -> gene_to_cluster
gene_to_cluster <gene_to_cluster$gene_short_name
my_pseudotime_cluster <- plot_pseudotime_heatmap(Monocle_object[gene_to_cluster,],
num_clusters = 3,
cores = 8,
show_rownames = TRUE,
return_heatmap = TRUE)