bb_calcBedpe.Rd
Calculates all potential paired interactions from a BED file
bb_calcBedpe( bed, res = 10000, x = 100, decreasing = TRUE, interactions = "interchromosomal" )
bed | data.frame in narrowpeak format |
---|---|
res | bin resolution for output BEDPE |
x | integer top x numer of strongest or weakest peaks |
decreasing | logical order by decreasing |
interactions | string filter for interchromosomal or intrachromosomal interactions |
Returns a data.table of BEDPE interactions