Description Usage Arguments Value Author(s) Examples
View source: R/filter.fragments.R
Filter low and high-interacting restriction fragments based on the total number of trans counts
1 2 3 4 5 6 | filter.fragments(
interaction.data,
bait.filters = c(0, 1),
target.filters = c(0, 1),
verbose = FALSE
)
|
interaction.data |
Data table containing interactions |
bait.filters |
Vector of length two, where the first element corresponds to the lower-end filter and the second to the upper-end filter. When global multiple testing correction is performed, altering the bait filtering settings may affect the number of significant results. |
target.filters |
Vector of length two, giving lower and higher filter, respectively. Changing this filtering setting may affect multiple testing correction by altering the number of tests performed. |
verbose |
Logical indicating whether to print progress reports. |
Data table containing fragments that passed all filters
Erle Holgersen <Erle.Holgersen@icr.ac.uk>
1 2 | # filter out lowest 10% of baits
filter.fragments(bre80, bait.filters = c(0.1, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.