Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joint view two different cool files #79

Open
EnrichettaMileti opened this issue Mar 2, 2023 · 1 comment
Open

joint view two different cool files #79

EnrichettaMileti opened this issue Mar 2, 2023 · 1 comment

Comments

@EnrichettaMileti
Copy link

EnrichettaMileti commented Mar 2, 2023

Hi! Is it possible to do the joint_center using two different cool file? To show the difference between the 2 contact maps?

@zhqu1148980644
Copy link
Collaborator

Yes, but requires little customizing. You can subclass Cooler and modify fetch_data method to return the combined matrix.
For example.

class CombinedCool(Cool):
      def fetch_data(self, gr1, gr2):
          // implement to fetch data from two cooler

jv = JointView(CombindCool(), **sub_frames, space=0, padding_left=0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants