This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Add alluvial plots to summary stats script #23
Merged
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.
Purpose/implementation Section
What scientific question is your analysis addressing?
Closes #20. This PR updates
02-summary_stats.R
script to add alluvial plot showing concordance between predicted ancestry, reported race, and reported ethnicity in PBTA ancestry cohort.What was your approach?
predicted_ancestry
,race
, andethnicity
, and usedcowplot()
to arrange these with the alluvial plotWhat GitHub issue does your pull request address?
#20
Directions for reviewers. Tell potential reviewers what kind of feedback you are
soliciting.
Which areas should receive a particularly close look?
Please review new code for formatting data and generating alluvial plot.
Is there anything that you want to discuss further?
The current code for creating group-specific legends is a bit cumbersome, so any recommendations on how to streamline this are welcome!
Is the analysis in a mature enough form that the resulting figure(s) and/or table(s) are
ready for review?
Yes
Results
What types of results are included (e.g., table, figure)?
What is your summary of the results?
Reproducibility Checklist
project Dockerfile.
Documentation Checklist
README
and it is up to date.