Skip to contents

Retrieve co-accessibility links

Usage

get_co_accessibility(proj, ...)

# S3 method for class 'MarchRProject'
get_co_accessibility(
  proj,
  cor_cutoff = 0.5,
  resolution = 1L,
  return_loops = TRUE,
  ...
)

Arguments

proj

(MarchRProject) Project with co_accessibility computed.

...

Additional arguments passed to methods.

cor_cutoff

(numeric) Minimum correlation to keep. Default 0.5.

resolution

(integer) Coordinate bin size for loops, bp. Default 1L.

return_loops

(logical) Return a GRanges of arcs instead of a data.frame. Default TRUE.

Value

If return_loops is FALSE, the filtered co_accessibility data.frame. Otherwise a GRanges of arcs spanning each linked peak pair, with value holding the correlation and FDR the false discovery rate.

Details

Reproduces ArchR's getCoAccessibility().