Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve HeatMap Color Range to Taxonomy #1

Closed
Nilad opened this issue Apr 26, 2022 · 1 comment
Closed

Improve HeatMap Color Range to Taxonomy #1

Nilad opened this issue Apr 26, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Nilad
Copy link

Nilad commented Apr 26, 2022

Hi,

Is it possible to have a special range color for taxonomist user or the possibility to define (by a configuration file) a range by color ?

For the taxonomist user, they like to have a color range of 100% ANI, 99%-95%, 94%-83%, 82%-70% and 70%-0%.

Thanks for your work.

Have a good day.

@moshi4
Copy link
Owner

moshi4 commented Apr 27, 2022

Hi, @Nilad

Thank you for your suggestions for functionality improvements.
I am glad that this is my first issue for my OSS.

I thought the feature you mentioned was useful, so I implemented it in the new v1.1.0 version.
It is designed to allow specifying color range values via command option --cmap_ranges.

ANIclustermap v1.1.0 is already available in pip install.
It will take about 1 to 2 days to be available from conda install.

Example1

Test dataset = small_dataset (Click link to download)

ANIclustermap -i ./small_dataset -o ./cmap_ranges_example1 --fig_width 15 --annotation \
              --cmap_ranges 70,82,95,100,100

ANIclustermap

Example2

ANIclustermap -i ./small_dataset -o ./cmap_ranges_example2 --fig_width 15 --annotation \
              --cmap_ranges 80,85,90,95,100 --cmap_colors cyan,blue

ANIclustermap

@moshi4 moshi4 added the enhancement New feature or request label Apr 27, 2022
@moshi4 moshi4 closed this as completed Apr 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants