You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using CoolBox for visualization purposes and I would like to achieve a visual effect similar to the provided image. I am seeking guidance on how to proceed and I was wondering if you could provide some example code to help me achieve this effect.
I will appreciate any help or insights you can provide to assist me in achieving the desired visual effect. Thank you in advance for your assistance!
The text was updated successfully, but these errors were encountered:
wbszhu
changed the title
Requesting Assistance with Coolbox Visualization - Achieving A/B compartments
Requesting Assistance with CoolBox Visualization - Achieving A/B compartments
Jun 30, 2023
To complete this task, you will need some knowledge of Python coding. You can subclass the Cool class to create a new class or track called Com that will display A/B compartment. You will need to implement the fetch_data method in the Com class to return the A/B compartment matrix.
Here is an example code:
class Com(Cool):
def fetch_data(self, gr1, gr2):
# 1. fetch compartment matrix for the entire chromosome range
# 2. subrange the matrix in gr1 and gr2
I am currently using CoolBox for visualization purposes and I would like to achieve a visual effect similar to the provided image. I am seeking guidance on how to proceed and I was wondering if you could provide some example code to help me achieve this effect.
I will appreciate any help or insights you can provide to assist me in achieving the desired visual effect. Thank you in advance for your assistance!
The text was updated successfully, but these errors were encountered: