-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update UMAP faceting code #644
Merged
Merged
Changes from 8 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
93eed97
Update legend position and add label wrapping to the lump function. T…
sjspielman d319c60
Fix factor bug - after lumping, they should still be in order of freq…
sjspielman 22a1beb
Add conditional legend placement using modulo
sjspielman 3fa66d0
add dplyr:: for when this function is called from the supp report, wh…
sjspielman 1e22cd2
Merge branch 'development' into sjspielman/637-faceted-umap-legend
sjspielman 2addaad
make sure we're using three columns
sjspielman 5b1732c
also account for unknown cell type in the refactoring
sjspielman dc5af08
also if 1 cell type, legend goes on the bottom. This is almost certai…
sjspielman ad59190
restore aspect.ratio = 1 and update legend placement to fit
sjspielman b00c951
Set umap height dynamically, but fix width at 8.
sjspielman 14d1d4b
Plot height and legend tweaks after viewing all different options
sjspielman cf16bfb
Add comments about legend placement choices
sjspielman 61d22c2
Styling: Align UMAPs in the center and update sizing approach to dete…
sjspielman 2e040da
use roxygen comments and put function in a function chunk higher in rmd
sjspielman 13dd624
fix comment typo
sjspielman c40a52b
Update templates/qc_report/celltypes_qc.rmd
sjspielman 900a8d2
Update templates/qc_report/celltypes_qc.rmd
sjspielman 16ffe3e
Legend y-positioning based on number of facets
sjspielman 0768afe
Merge branch 'development' into sjspielman/637-faceted-umap-legend
sjspielman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just add a comment here that this is specifically for when n = 2 that because we have < 3 columns, we need the legend on the bottom?
Maybe another comment for each of the
if
conditions would be helpful to say why each decision was made here.