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

Implement contig depth colorization #54

Closed
fedarko opened this issue Aug 9, 2017 · 2 comments
Closed

Implement contig depth colorization #54

fedarko opened this issue Aug 9, 2017 · 2 comments

Comments

@fedarko
Copy link
Member

fedarko commented Aug 9, 2017

From @fedarko on June 10, 2017 10:36

Would be similar to GC colorization, but since depth isn't an absolute measure we'd probably want to implement some form of relative scaling here (e.g. how we handle edge multiplicities).

Copied from original issue: fedarko/MetagenomeScope#217

@fedarko fedarko self-assigned this Aug 9, 2017
@fedarko
Copy link
Member Author

fedarko commented Aug 9, 2017

I guess we could do scaling on the python side (potentially accounting for outliers using Tukey-esque methods) and assign each node a depth_intensity field or something (between 0 and 1; analogous to the thickness attribute of edges), which could then be easily used as an argument to the getNodeColorization() function, which'd be called when assigning a data(depth_color) attribute for each node in renderNodeObject(). (If that isn't too long a chain of silly stuff.)

That actually should be pretty easy to implement, honestly.

@fedarko
Copy link
Member Author

fedarko commented Apr 13, 2023

Closing in favor of #243. (Support for coloring nodes / edges by arbitrary metadata could just be extended to support coverages.)

@fedarko fedarko closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant