calcApa.Rd
Extract BEDPE interactions from a Hi-C matrix
calcApa(
bedpe,
hic,
norm = "NONE",
res = 10000,
buffer = 5,
filter = FALSE,
matrix = "observed"
)
data.frame or data.table in BEDPE format.
string path to .hic file.
string hic normalization <NONE/VC/VC_SQRT/KR>.
integer resolution of bedpe bins.
integer number of res-length bins from the center pixel.
TRUE or FALSE (default). If TRUE, filterBedpe()
will be used to remove short intrachromosomal interactions that would otherwise cross the diagonal.
Type of matrix to output. Can be one of observed/oe/expected. observed is observed counts, oe is observed/expected counts, expected is expected counts.
Returts a list APA matricies that can be compiled and plotted.