-
Notifications
You must be signed in to change notification settings - Fork 15
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
Questions regarding to "plot_connections", "plot_cells" and "new_cell_data_set", thank you for your help. #35
Comments
Hi,
JB |
Thank you so much, Jbalberge. Best, |
@jbalberge Would you how can I generate genome wide gene model that I can use with the |
Have you looked at this section? https://cole-trapnell-lab.github.io/cicero-release/docs/#frequently-asked-questions |
@raivivek I tried to use full length of chr1, plot_connections will generate huge Robj, unless you loose the resolution that you might get the figure. |
Regarding to question2, in another word, is there anyway to do plot_cells in Cicero such as plotting by Monocle3 using "plot_cells(cds, genes=c("cpna-2", "egl-21", "ram-2", "inos-1"))"? If defining 5000Kbp upper region the end of target genebody as the detection region? Based on cicero_gene_activities table? And further is there marker chromosome accessible sites for clustering in cicero and potential targeted marker genes nearby the marker chromosome accessible sites ? |
Sorry for the delayed response. For the 2nd question, you'll need to create a CDS object from the gene activity matrix - i.e. where the expression matrix is the gene activity matrix and the gene metadata is gene information. You can then make the CDS using new_cell_data_set and plot it as though it were RNA. For the third question, you should be able to use the "combine_cds" function from monocle3 - however, this won't solve the issue of having different peak sets (potentially overlapping) from your separate cell ranger runs. Combining those is outside the scope of cicero and would likely require some bedtools-style merging. I'm going to close this out, but if I've missed a question, you can reopen! |
Dear Hannah,
Thank you for your quick response, you are very helpful.
I still have 3 questions below, if possible, could you give me some tips? Thank you so much!
What is the reason why "yscale" is invalid for drawing the connection plot as below in cicero for monocle3? What should I do to figure it out? Thank you so much.
#===#
plot_connections(conns, "chr2", 13451, 9848598,gene_model = gene_anno, coaccess_cutoff = .005, connection_width = .5,collapseTranscripts = "longest" )
Error in valid.viewport(x, y, width, height, just, gp, clip, xscale, yscale, :
invalid 'yscale' in viewport
#===#
How can I plot cell figures based on genes assigned after processing "Cicero gene activity scores" step in cicero for monocle3? Is the way below the correct way to do it? Or any other ways? Thank you.
#===#
Thank you so much!
Best,
Qi
The text was updated successfully, but these errors were encountered: