GangCaoLab / CoolBox

Jupyter notebook based genomic data visualization toolkit.
https://gangcaolab.github.io/CoolBox/index.html
GNU General Public License v3.0
224 stars 37 forks source link

TAD Image generation error #82

Closed Zheng19w closed 1 year ago

Zheng19w commented 1 year ago

cool="./laiwu.mcool" tads="./laiwu_domains.bed"

coolbox add XAxis - \ add Cool $cool - \ add TADCoverage $tads --border_only True --alpha 1.0 - \ goto "9:40000000-60000000" - \ plot ./test_coolbox.pdf image

Hello, why is the generated picture not a pyramid shape, as shown in the following picture, looking forward to your reply!

image

Zheng19w commented 1 year ago

image

Nanguage commented 1 year ago

You can specify the matrix style using: --style='triangular' parameter to draw the 'pyramid shape' matrix:

cool="./laiwu.mcool"
tads="./laiwu_domains.bed"

coolbox add XAxis -
add Cool $cool --style "triangular" -
add TADCoverage $tads --border_only True --alpha 1.0 -
goto "9:40000000-60000000" -
plot ./test_coolbox.pdf
Zheng19w commented 1 year ago

Thank you for you replay