get.combination.count {chicane}R Documentation

get.combination.count

Description

Calculate the number of possible combinations between baits and fragments, excluding self-ligations and only counting bait-to-bait interactions once (e.g. a-b, not b-a)

Usage

get.combination.count(baits, fragments, cis.only = FALSE)

Arguments

baits

vector of bait IDs in form chrN:start-end

fragments

vector of fragment IDs in form chrN:start-end

cis.only

logical indicating whether cis-interactions only should be considered

Value

total number of possible combinations


[Package chicane version 0.1.8 Index]