GENOVA icon indicating copy to clipboard operation
GENOVA copied to clipboard

Labels in visualise

Open MarijneMia opened this issue 5 years ago • 2 comments

Describe the bug The labels in visualise for the apa discovery has inverted labels for the y axis in the top row.

To Reproduce library(GENOVA)

pl <- read.delim('your_favorite_loops.bed') WT_10kb_hicpro <- load_contacts(signal_path = "WT_10kb_iced.matrix", indices_path = "WT_10kb_abs.bed", sample_name = "WT", colour = "black")

apa <- APA(explist = list("WT" = WT_10kb_hicpro), bedpe = pl) visualise(apa)

Expected behavior I would expect the "-100 kb" label towards the top, and the "100 kb" label towards the bottom of the APA matrix.

Screenshots image

MarijneMia avatar Nov 17 '20 13:11 MarijneMia

The reason is that the diagonal is in the bottomleft corner. This means that positions closer to the diagonal are considered “upstream” of the loop. I assume that this is why these position are considered negative.

Best, Elzo

On 17 Nov 2020, at 14:40, MarijneMia <[email protected]mailto:[email protected]> wrote:

Describe the bug The labels in visualise for the apa discovery has inverted labels for the y axis in the top row.

To Reproduce library(GENOVA)

pl <- read.delim('your_favorite_loops.bed') WT_10kb_hicpro <- load_contacts(signal_path = "WT_10kb_iced.matrix", indices_path = "WT_10kb_abs.bed", sample_name = "WT", colour = "black")

apa <- APA(explist = list("WT" = WT_10kb_hicpro), bedpe = pl) visualise(apa)

Expected behavior I would expect the "-100 kb" label towards the top, and the "100 kb" label towards the bottom of the APA matrix.

Screenshots [image]https://user-images.githubusercontent.com/24277124/99396666-4fb64f80-28e2-11eb-9976-3bc06091afdd.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/robinweide/GENOVA/issues/233, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7ANXD4PZDGGPREGTF6HBDSQJ4LPANCNFSM4TYSVW6A.

deWitLab avatar Nov 17 '20 16:11 deWitLab

The reason is that the diagonal is in the bottomleft corner. This means that positions closer to the diagonal are considered “upstream” of the loop. I assume that this is why these position are considered negative.

This. But let see if more people are annoyed by this.

robinweide avatar Jan 10 '21 16:01 robinweide