Skip to content
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

Add rugplot/segment plot for sgRNA rank. #35

Open
j-andrews7 opened this issue Dec 31, 2024 · 2 comments
Open

Add rugplot/segment plot for sgRNA rank. #35

j-andrews7 opened this issue Dec 31, 2024 · 2 comments

Comments

@j-andrews7
Copy link
Owner

j-andrews7 commented Dec 31, 2024

Condensed representation of sgRNA rank for a given gene, add vertical segment for each sgRNA in gray, highlight those for selected gene in red.

This could also be useful for highlighting specific genes/pathways in the gene rank plots.

@j-andrews7
Copy link
Owner Author

j-andrews7 commented Jan 14, 2025

This should be added as a parameter to the plot_rank function, e.g. plot.density = TRUE. Under the rank plots, I just want the rug plot, as shown here. But we construct the rank plot directly in plotly whereas the examples only show how to make rugplots in ggplot2 and then convert to plotly via ggplotly.

There is almost certainly a way to do this natively with plotly, but I have not yet found it.

This should be FALSE by default and a checkbox added to the Rank Plot inputs to control this for CRISPRball.

@j-andrews7
Copy link
Owner Author

Worst case, can make the rugplot via ggplot2, convert via ggplotly, then add below the rank plot using subplot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant