filter_calls | R Documentation |
This function takes a data.frame
representing a set of calls such as
generated by function getdels
and filters them according to
different criteria. The function allows filtering based on the number of
data points supporting the events, the individuals in which the events are
found, or the genomic regions in which the events are located.
filter_calls(calls, overall_minlength, hetdel_minlength, dup_minlength,
individuals = NULL, het_sites = NULL, min_overlap = 0)
calls |
a |
overall_minlength |
a single integer or numeric value. The minimum number of supporting data points for a CNV of any type (homozygous deletion, hemizygous deletion, duplication) to be kept. |
hetdel_minlength |
a single integer or numeric value. The minimum number of supporting data points for a hemizygous deletion to be kept. |
dup_minlength |
a single integer or numeric value. The minimum number of supporting data points for a duplication to be kept. |
individuals |
an optional character vector of samples for which to extract the CNV calls. |
het_sites |
a |
min_overlap |
a single numeric value between 0 and 1. The minimal
proportion of the length of the event that must overlap with a region
listed in |
a data.frame
of read counts similar to that given as input,
but with events removed according to the specified filters.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.