fill.in.zeros | R Documentation |
Add zero counts to interaction data
fill.in.zeros(interaction.data, baits, fragments) fill.in.zeroes(interaction.data, baits, fragments)
interaction.data |
Data table containing interaction data |
baits |
Vector of bait IDs used in the experiment, in format chrN:start-end |
fragments |
Vector of potential fragments the baits can link up to, in format chrN:start-end |
Data table containing origiina
data(bre80); bait.file <- system.file('extdata', '2q35.bed', package = 'chicane'); fragment.file <- system.file('extdata', 'GRCh38_HindIII_chr2.bed.gz', package = 'chicane'); results <- fill.in.zeros( bre80, baits = read.bed(bait.file), fragments = read.bed(fragment.file) );