higlass-python
higlass-python copied to clipboard
ValueError: No default track type (linear-heatmap)
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.
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!
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.