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

Color map for scaled/sckewed values #28

Open
pandyasneha opened this issue Aug 9, 2023 · 2 comments
Open

Color map for scaled/sckewed values #28

pandyasneha opened this issue Aug 9, 2023 · 2 comments

Comments

@pandyasneha
Copy link

Dear team,

Thank you for this wonderful software! We are using this software to map pathology that are scaled from 0-1 or non-scaled values which are heavily skewed. Our values are heavily skewed in the range of 3.5-5, hence no matter what color we choose it ends up being a very subtle shade between last two colors in the range of pathology [0-5]. Same thing happens if I scale these values to 0-1. Is there a way I can show a scaled distribution of pathology values with hot color map or any other map that can show clear distinction of color on the glass brain? As in if I want to map scaled values that are in the range of 0-1 with say hot colormap (black -> red -> orange -> yellow), is it possible to do that? When I tried doing this, values were mapped to black and/or red discarding further interpolation from red to yellow.

Thank you,
Sneha

@razvanmarinescu
Copy link
Owner

razvanmarinescu commented Aug 10, 2023

Glad it was useful Sneha! I don't think I understood the second part of the question, but for the first part, if you have skewed data, you can perhaps simply use our source code and apply a transformation that removes the skewness (for example log-transform of the biomarkers, or any other function that makes sense). Then you simply need to create a log-transform of the color legend in something like photoshop or in LaTeX.

@pandyasneha
Copy link
Author

Thank you for the response, let me try that out.

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

2 participants