cellrouter icon indicating copy to clipboard operation
cellrouter copied to clipboard

plotPathHeatmap function "invalid 'row.names' length"

Open hgb1111 opened this issue 5 years ago • 5 comments

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?

hgb1111 avatar Feb 18 '19 19:02 hgb1111