Skip to content

joint view two different cool files #79

Open

Description

@EnrichettaMileti

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

Activity

  1. zqbake commented on Mar 2, 2023

    @zqbake
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions