Skip to contents

Convert concatemer reads to pairwise interactions in a GInteractions object.

Usage

concatemers2gis(grs, region = NULL, bin_size = 1e+05, read_group = "read_name")

Arguments

grs

A GRanges object of concatemer reads.

region

A GRanges object specifying the genomic region of interest. Default is NULL, which uses the entire range of grs.

bin_size

The size of the bins to divide the genomic region into. Default is 100000 (100 kb).

read_group

The metadata column in grs that defines the read groups. Default is "read_name".

Examples

if (FALSE) { # \dontrun{
} # }