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

Generate ovals dynamically from PCoA data #68

Closed
cuttlefishh opened this issue Mar 26, 2014 · 1 comment
Closed

Generate ovals dynamically from PCoA data #68

cuttlefishh opened this issue Mar 26, 2014 · 1 comment

Comments

@cuttlefishh
Copy link
Contributor

Currently the ellipses (ovals) bounding the data in the PCoA plots are drawn manually in Illustrator and positioned in Latex until they pass the eyeball test. It would be great if the ellipses could be generated dynamically from the first and second coordinates (i.e. flattening the plot into 2 dimensions). Presumably the major axis of the ellipse would coincide with the linear regression of points, and the minor axis then bisects that perpendicularly. Then it's a matter of capturing e.g. 99% of the points. It seems plausible and would look better, be more accurate, and save us time down the road.

@cuttlefishh
Copy link
Contributor Author

Ovals are now generated using matplotlib KDE plot in scripts/mod2_pcoa.py

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