Changelog
Source:NEWS.md
mariner 1.2.1
New features:
Added pileupBoundaries()
for visualizing pileup Hi-C contacts in regions around genomic loci/boundary elements.
mariner 1.2.0
Breaking changes:
- Function renaming:
-
subsetBySource()
->sets()
-
getPairClusters()
->clusters()
-
aggPairMcols()
->aggMetadata()
-
binPairs()
->assignToBins()
-
-
sets()
function now returns all combinations of sets from aMergedGInteractions
object.
mariner 1.1.3
New features:
Wrapper functions for performing pileup analysis on pixels or domains.
pileupPixels()
for extracting and aggregating Hi-C counts in square regions around pixels of interest (aggregate peak analysis).pileupDomains()
for extracting, resizing, and aggregating Hi-C counts in domain regions of interest (aggregate domain analysis).
Changes:
Improve documentation for
removeShortPairs()
to make it more clear that it should be run after any function that resizes interactions.Add
verbose
option toregularize()
to update users on regularization of jagged arrays.
mariner 1.1.1
Bug fixes:
- Fix in
pullHic
functions: After running.prepareInputs()
which involves snapping ranges to bins, the adjusted ranges were not being used to calculate the expected matrix dimensions. This can sometimes cause a missmatch between the data used for enumerating bins, and the data that is extracted from the Hi-C file. Fixed by using the adjusted interactions to set the matrix dimensions.
mariner 1.1.0
New features:
JaggedArray
andInteractionJaggedArray
classes for irregular matrices.Functions for generating random
GRanges
andGInteractions
objects.regularize
method for converting irregular (i.e. jagged) to regular arrays.New
calcLoopEnrichment
method forInteractionArray
objects.defaultBuffer()
function for setting the buffer argument from anInteractionArray
.
Bug Fixes:
Fix bug in
removeShortPairs
where padding wasn’t working as intended.FUN
argument ofcalcLoopEnrichment
now accepts environmental variables and uses flexible argument names forfg
andbg
.
mariner 0.99.0
Bug fixes and improvements:
Improve dispatch speed of
mergePairs()
by removing S4 method dispatch on all arguments to justx
andradius
.Fix bug in
mergePairs()
where all pairs are altered during mean of mode transformation. Now original pairs are preserved when accessed withclusters()
.Set replace method for
counts<-
accessor forInteractionMatrix
objects. Helpful for convertingDelayedMatrix
tomatrix
.Update
pixelsToMatrix
to preserve metadata columns and include some additional tests.-
Add
plotMatrix()
function for plotting matrix data as a heatmap. Useful for visualizingDelayedMatrices
frompullHicMatrices()
andaggHicMatrices()
. Compatible withplotgardener
package.- Allow
plotMatrix()
to acceptna.color
- Allow
Bug fix in
mergePairs()
that allows columns named “radius” and/or “method”.Swap “binSize” and “files” argument order in
pullHicPixels
andpullHicMatrices
Allow
pullHicPixels
to overwrite existing HDF5 files.Validity checks and functions to access/update the HDF5 paths for
InteractionMatrix
objects, even when those paths have been broken.Add temporary
plotBullseye
function.-
Selection functions for selecting indices of a matrix:
selectCenterPixel
selectRadius
selectSubmatrix
selectCoordinates
selectBlock
selectTopLeft
selectTopRight
selectBottomRight
selectBottomLeft
selectCorners
selectRows
selectCols
selectInner
selectOuter
calcLoopEnrichment
function for flexibly calculating enrichment of interactions compared to their local background.adjustEnrichment
andplotEnrichment
for adjusting the loop enrichment to remove the effect of loop size on enrichment and visualize this correction across chosen parameters.
mariner 0.2.0
Methods for pulling Hi-C pixels and matrices from .hic files and storing them on-disk with HDF5Array and DelayedArray.
Overview of functionality
New or updated functions:
-
- “snaps” ranges in
GInteractions
objects to their nearest bin boundary. Allows spanning of multiple bins.
- “snaps” ranges in
-
pullHicPixels()
extracts contact frequency from.hic
files and returns anInteractionMatrix
object containing a matrix of Hi-C interactions (rows) and samples (columns). -
pullHicMatrices()
extracts submatrices of contact frequency from.hic
files and returns anInteractionArray
object containing a 4-dimensional array of Hi-C submatrices, rownames, and colnames. pixelsToMatrices()
takesGInteractions
containing single pixels (i.e., each range represents onebinSize
) and expands ranges such that there is abuffer
of pixels around each range.changePixelRes()
takes aGInteractions
object containing pixels of interest and is resized to thefrom
resolution/binSize (if its not already). Then count matrices are extracted for each interaction and.hic
file using the newto
resolution. Count matrices are aggregated by interactions with the suppliedaggFUN
and a new pixel is selected with the suppliedselectFUN
. Allows block processing for large datasets. The object returned is aGInteractions
object with the updated pixel ranges along with a column containing the aggregated min/max value for that pixel.calcLoopEnrichment()
pulls Hi-C pixels and calculates the enrichment over background returning aDelayedMatrix
of enrichment scores where rows are interactions and columns are Hi-C files.Accessors for GInteractions objects such as
seqnames1()
,start1()
,end1()
,seqnames2()
,start2()
,end2()
.
mariner 0.1.0
First pre-release of mariner functionality focused on manipulating, clustering, and merging paired interactions.
Overview of functionality
Conversion of paired-range data to
GInteractions
withas_ginteractions
/makeGInteractionsFromDataFrame
Functions for manipulating
GInteractions
andGRanges
objects withbinPairs
,binRanges
,shiftRanges
.Functions for clustering and merging lists of
GInteractions
objects withmergePairs
.Extensions to
GInteractions
class withMergedGInteractions
, andDelegatingGInteractions
.-
Accessor functions for
MergedGInteractions
:-
aggPairMcols
- Aggregate metadata columns of clustered interactions.
-
getPairClusters
- Return interactions for each cluster of interactions.
-
selectionMethod
- Method used to select pairs from each cluster of interactions.
-
sources
- List of names (or indices) used as input for clustering and merging.
-
subsetBySource
- Return interactions unique to each source or combination of sources.
-