robinweide / GENOVA

GENome Organisation Visual Analytics
GNU General Public License v3.0
69 stars 15 forks source link

Insulation score visualisation #289

Closed meisterpeter closed 1 year ago

meisterpeter commented 2 years ago

When visualising insulation score, x scale is doubled compared to the real size of the chromosomes (ie 17 Mb chromosome is >25 Mb long). Insulation score appears correctly (ie probably only a display error, not a calculation problem when calculating the insulation_score). Thanks for the great piece of software anyway!

meisterpeter commented 2 years ago

This is the "dev" branch

teunbrand commented 2 years ago

Yep, can confirm, silly mistake! Fix is underway on the dev branch.

Afterwards, should correctly plot the x-axis (example below pre-fix showed north of 60Mb).

library(GENOVA)

exp <- get_test_data("40k")

ins <- insulation_score(exp)

visualise(ins, chr = "chr21")

Created on 2022-02-17 by the reprex package (v2.0.1)