cole-trapnell-lab / monocle3

Other
327 stars 101 forks source link

Plot_genes_in_pseudotime Expression Family error #624

Open brookeabrown opened 1 year ago

brookeabrown commented 1 year ago

Hello,

I have successfully used my Seurat objects with Monocle3 to get a trajectory plot. Now, I want to plot individual genes in pseudotime as in the example here https://cole-trapnell-lab.github.io/monocle3/docs/differential/ under the section "Finding genes that change as a function of pseudotime". However, I keep getting the error: Error in cds_subset@expressionFamily@vfamily %in% c("negbinomial", "negbinomial.size") : no slot of name "expressionFamily" for this object of class "cell_data_set"

I get this error when trying "plot_genes_jittter" and "plot_genes_in_pseudoitme".

Any advice on how to solve this issue? Thank you!

ChenManqi2 commented 1 year ago

I have met the error too. I solved this problem after invoking the function 'plot_genes_in_pseudotime' with code 'monocle3::plot_genes_in_pseudotime()'. It is likely that you invoked the 'plot_genes_in_pseudotime' from monole rather than monocle3.

Airoof commented 8 months ago

I have met the error too. I solved this problem after invoking the function 'plot_genes_in_pseudotime' with code 'monocle3::plot_genes_in_pseudotime()'. It is likely that you invoked the 'plot_genes_in_pseudotime' from monole rather than monocle3.

thank you so much, that solves my problem