-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClusterFreeExpression Not S4 object #29
Comments
@jayp2919 , |
Without more commands and data to reproduce this bug, we're left guessing. Could you share your data and the precise commands you ran here? That will help with debugging. The more you share, the better---we'll be able to reproduce the problems. Best, Evan |
Hello I am unable to perform downstream analysis of cluster differential expression/gene programs. cao object: https://drive.google.com/file/d/1BFe00nZJQ-Ourpk9RdfaauuQ2zUH0aj7/view?usp=sharing I appreciate your help cao <- cacoa::Cacoa$new( cao$plot.params <- list(size=0.1, alpha=0.1, font.size=c(2, 3)) #Cell Loading and Expression Shift cao$plotCellLoadings(alpha=0.0, annotation.x=0.61, show.pvals=TRUE) cao$plotCellGroupSizes(show.significance=TRUE, legend.position=c(1, 1)) cao$plotContrastTree() cao$plotExpressionShiftMagnitudes(notch = FALSE) #Cluster DE and Ontology cao$estimateOntology(type="GSEA", org.db=org.Hs.eg.db::org.Hs.eg.db, verbose=FALSE, n.cores=1) #Volcano Plot #Ontology Plot cao$plotOntologyHeatmap( #Cluster Free Density cao$plotEmbedding(color.by='cell.groups') cao$estimateCellDensity(method='graph') plot_grid( #ClusterFree Differential Expression cao$plotClusterFreeExpressionShifts(legend.position=c(1, 0), font.size=2) #DE gene programs cao$estimateClusterFreeDE( cao$estimateGenePrograms(method="leiden", z.adj=TRUE, smooth=TRUE,resolution=1, n.pcs=100, k=30, n.cores=1, verbose=FALSE) cao$plotGeneProgramScores( #Plot genes from one program: plot_grid(plotlist=cao$plotGeneProgramGenes( |
Thank you for the amazing package, I was running the steps and everything was working until the differential gene analysis. Error of not an S4 object. I was not sure what the problem was as all the previous steps ran fine with the cao environment.
cao$estimateClusterFreeExpressionShifts(gene.selection="expression", min.n.between=1, min.n.within=1)
Error in estimateClusterFreeExpressionShiftsC(t(cm), self$sample.per.cell[rownames(cm)], :
Not an S4 object.
I appreciate your help and this tool!
The text was updated successfully, but these errors were encountered: