koustav-pal / HiCBricks

HiCBricks offers user-friendly and efficient solutions for handling large high-resolution Hi-C datasets. The package provides a R/Bioconductor framework with the bricks to build more complex data analysis pipelines and algorithms.
Other
3 stars 4 forks source link

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

Open Kelly-ST-HRI opened 1 year ago

Kelly-ST-HRI commented 1 year ago

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:

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 commented 1 year ago

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.