higlass / higlass/higlass-python

ValueError: No default track type (linear-heatmap)

Aperta
#125 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
66
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the Python documentation's getting_started.html track-types section and compare it with the linked HiGlass track_types.html page. Reproduce the tileset1.track("linear-heatmap", height=300) example and verify which track types HiGlass-python 1.0.0 supports; done when the documentation accurately describes the supported type or incompatibility.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.