-
Notifications
You must be signed in to change notification settings - Fork 0
place main viewplot in the center #178
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
Conversation
|
this is an improvement but obviously not ideal, I thought of two approaches that might work:
I think these two approaches are similar, would benefit from someone who understands viewports better - @dan-knight |
|
I think we could refine this a tiny bit. All plotting directions are just an angle under the hood. For example, |
|
Ya we could try that, what about weirder angles like 45 or 60? SHould we just collapse them to the nearest direction? |
Still works! Imagine a circle around the plot center point. The starting node would just rotate continuously along that circle with whatever plotting direction angle is specfied (45, 60, 31, 0.00151, anything). |

Description
Original: main clone vp is set so that the top is aligned with y = 0.9. This works great with default
plotting.direction = 'down', but not the other direction. Setting back to defaults, which works betterSmall example
Top = before, bottom = after

Larger example
Left = before, right = after

Checklist
This PR does NOT contain Protected Health Information (PHI). A repo may need to be deleted if such data is uploaded.
Disclosing PHI is a major problem1 - Even a small leak can be costly2.
This PR does NOT contain germline genetic data3, RNA-Seq, DNA methylation, microbiome or other molecular data4.
.png, .jpeg),.pdf,.RData,.xlsx,.doc,.ppt, or other output files.To automatically exclude such files using a .gitignore file, see here for example.
I have read the code review guidelines and the code review best practice on GitHub check-list.
I have set up or verified the
mainbranch protection rule following the github standards before opening this pull request.The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].
I have added the major changes included in this pull request to the
CHANGELOG.mdunder the next release version or unreleased, and updated the date.Footnotes
UCLA Health reaches $7.5m settlement over 2015 breach of 4.5m patient records ↩
The average healthcare data breach costs $2.2 million, despite the majority of breaches releasing fewer than 500 records. ↩
Genetic information is considered PHI.
Forensic assays can identify patients with as few as 21 SNPs ↩
RNA-Seq, DNA methylation, microbiome, or other molecular data can be used to predict genotypes (PHI) and reveal a patient's identity. ↩