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

Invert coordinates to plot lower triangle from upper triangle bricks #26

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Kelly-ST-HRI
Copy link

@Kelly-ST-HRI Kelly-ST-HRI commented Aug 8, 2023

Adds invert_coords parameter. Backwards compatible with invert_coords = FALSE (default). Allows inverting axes to plot the transpose of brick object. Note the x_coords and y_coords match the x and y axes of plot created but the brick object contains data in the transpose matrix.

Follow up to PR #25 adding features discussed in Issue #18.

Enables:

  • inverting the matrix to (optionally) allow plotting the larger chromosome on the x-axis from the same "brick" file

See here for the differences between #25 and #26
https://github.com/Kelly-ST-HRI/HiCBricks/compare/correct-coords...Kelly-ST-HRI:HiCBricks:invert-coords?expand=1

@Kelly-ST-HRI
Copy link
Author

Defines invert_coords as follows:

invert_coords: Optional. Default FALSE.
A boolean (TRUE or FALSE) of length 1 specifying whether the coordinates in the
upper triangle of the data should be plotted transposed in the lower triangle.

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

Successfully merging this pull request may close these issues.

None yet

1 participant