cellrouter
cellrouter copied to clipboard
plotPathHeatmap function "invalid 'row.names' length"
When I run:
genelist <- c('Hspg2', 'Kdr', 'Plvap', 'Gja4')
plottrajectories(cellrouter, '8.9', genelist, rescale = TRUE, columns=1, width=5, height=2, filename='results/dynamics_curve.pdf')
the plottrajectories function runs just fine.
When I try to run plotPathHeatmap with the same genelist:
genelist <- c('Hspg2', 'Kdr', 'Plvap', 'Gja4')
plotPathHeatmap(cellrouter, '8.9', genelist, 2, 4, 2, dir = 'results/')
I get the error:
Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length
How can I make a heatmap with the desired genes?