mrvollger / StainedGlass

Make colorful identity heatmaps of genomic sequence
https://mrvollger.github.io/StainedGlass/
MIT License
98 stars 10 forks source link

StainedGlass #12

Closed duhuipeng closed 2 years ago

duhuipeng commented 2 years ago

dear author I want to know the start position and the end position of this block unit (as follow). How can I get it? image meanwhile,I thought of changing the axes of this graph to make it scale more refined(as follow), but I didn't work in the source code image I want to show it with a scale of 0.5, but the coordinate axis result hasn't changed in the pdf picture . How do I need to modify it?

Best huipengDu

mrvollger commented 2 years ago

You could play with the plotting code here to get to this answer but I recommend loading this dataset in higlass so that you can zoom into the region and get it exactly right more or less.

Creating the cooler files for higlass should be fast and easy if you have already made the alignments: https://github.com/mrvollger/StainedGlass#visualization-of-a-large-region-or-a-whole-genome

duhuipeng commented 2 years ago

Dear author I am now trying the first one you said. I add the label directly to the graph image but I have never modified it successfully and reported an error image Could you show me how I can modify it?

Best HuipengDu

mrvollger commented 2 years ago

Instead of changing the limits within the scales I recommend adjusting the limits using: https://ggplot2.tidyverse.org/reference/coord_cartesian.html

But the R figures are not really made for manual editing and making this change might break other aspects of my code. I recommend higlass.

duhuipeng commented 2 years ago

Dear author I ran the command for pip install (as follow), but something like this I went to run the command again with No mode higlass image

image Is it because my python version is too low?But my python is inside the snakemake, what should I do

Best HuipengDu

mrvollger commented 2 years ago

Hi HuipengDu,

It is tricky to try and debug your python env from my end. If you send me the complete log messages instead of screenshots, I might be able to figure it out, but I cannot be sure.

Sorry, Mitchell

mrvollger commented 2 years ago

Closing for inactivity.