get.trans.counts {chicane} | R Documentation |
get.trans.counts
Description
Calculate the number of trans-interactions per fragment, accounting for the fact that baits can be listed either as bait or target.
Usage
get.trans.counts(interaction.data)
Arguments
interaction.data |
Data table containing interactions |
Value
Data table with columns fragment.id
and trans.count
.
fragment.id |
ID of restriction fragment in chrN:start-end format |
trans.count |
Number of trans interactions involving the fragment |
Examples
data(bre80);
get.trans.counts(bre80[, .(bait.chr, target.chr, bait.id, target.id, count)]);
[Package chicane version 0.1.8 Index]