I'm still seeing errors:
First I tried the code you mentioned except I use clusters instead of embryo.time.bin since this is a column in my colData(cds).
plot_genes_violin(cds_subset, group_cells_by="clusters", ncol=2) + theme(axis.text.x=element_text(angle=45, hjust=1))
Error in plot_genes_violin(cds_subset, group_cells_by = "clusters", ncol = 2) : unused argument (group_cells_by = "clusters")
Then, I tried this code again without the group_cells_by portion
plot_genes_violin(cds_subset)
Error in cds_subset@expressionFamily@vfamily %in% c("negbinomial", "negbinomial.size") : no slot of name "expressionFamily" for this object of class "cell_data_set"
Is it possible there is a bug in this code?
I'm also wondering if there is a way to generate violin plots using ggplot.
Please do not paste screenshots of plain text content, it is counterproductive. You should copy paste the content directly here (using the code formatting option shown below).