cole-trapnell-lab / monocle-release

276 stars 116 forks source link

error in plot_genes_branched_pseudotime #133

Open brianpenghe opened 6 years ago

brianpenghe commented 6 years ago

I tried this:

plot_genes_branched_pseudotime(HSMM_major[84,], branch_point = 1,color_by = "cell_class", ncol = 2)

and got this error: Error in if (nrow(ancestor_exprs) == 1) exprs_data <- t(as.matrix(ancestor_exprs)) else exprs_data <- ancestor_exprs : argument is of length zero

Xiaojieqiu commented 6 years ago

I am guessing that you need to plot at least two genes for plot_genes_branched_pseudotime to avoid the above error