Convert the output of Cicero connections to a set of genomic ranges where the start and end coordinates of the range are the midpoints of the linked elements. Only elements on the same chromosome are included in the output.
ConnectionsToLinks(conns, ccans = NULL, threshold = 0)
conns | A dataframe containing co-accessible elements. This would
usually be the output of |
---|---|
ccans | This is optional, but if supplied should be a dataframe
containing the cis-co-accessibility network (CCAN) information generated
by |
threshold | Threshold for retaining a coaccessible site. Links with a value less than or equal to this threshold will be discarded. |
Returns a GRanges
object
See the Cicero package for more information: https://bioconductor.org/packages/cicero/