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

ValueError: No default track type (linear-heatmap) #125

Open
LiuJie1117 opened this issue May 29, 2023 · 1 comment
Open

ValueError: No default track type (linear-heatmap) #125

LiuJie1117 opened this issue May 29, 2023 · 1 comment

Comments

@LiuJie1117
Copy link

Question Description

Hello developers, I am testing HiGlass-python (version=1.0.0) on my MacBook Pro M1. I found some track-types showed in https://docs.higlass.io/track_types.html don't work.
For example I tried to create a horizontal triangle heatmap as I used to do with higlass-docker. This plot show my past results.

截屏2023-05-29 20 46 20

I tested the code below and got error ValueError: No default track type, I suppose the track-type linear-heatmap is no longer supported in HiGlass-v1?
However in doc of HiGlass-python (http://docs-python.higlass.io/getting_started.html#track-types), it gives no warnings about the changes in track-type, and just guides me back to https://docs.higlass.io/track_types.html#.

import higlass as hg

tileset1 = hg.cooler("./tmp/sample.mcool")

track1 = tileset1.track("linear-heatmap", height=300)   

view1 = hg.view(track1)  

view1

If the problem do have something to do with version of HiGlass-python, I will highly appreciate it if you can update your doc website! And welcome any advice to tackle with my problem!

A thousand thanks!

@LiuJie1117
Copy link
Author

Using print(dir(higlass)) I found the true track-type I need!

It should be horizontal-heatmap instead of linear-heatmap showed in doc website https://docs.higlass.io/track_types.html.

But I still find linear-heatmap in Track Type list with print(dir(higlass)), I don't know what linear-heatmap designed for.

If developers can update a more detailed instructions, it will do great help, thanks.

截屏2023-05-31 10 47 32

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