Description Usage Arguments Value See Also
Calculates binding regions given a threshold. For each gene, enrichment confidence intervals over
smoothed read counts are calculated by binom_ci_profile
. If the lower confidence bound
is above the threshold at a position, this position is considered bound with high confidence. If the
threshold lies within the confidence interval for a position, this position is considered bound with
low confidence. Positions with the upper bound of the confidence interval below the threshold are
considered unbound.
1 2 3 4 5 6 7 8 9 10 11 12 | get_binding_positions_by_threshold(
data,
sample1,
sample2,
bin,
window_size,
skip_5prime = 0,
skip_3prime = 0,
conf.level = 0.95,
bpparam = BiocParallel::bpparam(),
threshold = 1
)
|
data |
A |
sample1 |
Name of the first sample (the numerator). If missing, the default sample1 of the data set will be used. |
sample2 |
Name of the second sample (the denominator). If missing, the default sample2 of the data set will be used. |
bin |
Binning mode ( |
window_size |
Neighborhood size for the confidence interval calculation in nucleotides. If missing, the default window size of the data set will be used. |
skip_5prime |
How many nucleotides to skip at the 5' end of the ORF. Useful if you know that the 5' end contains artifacts. |
skip_3prime |
How many nucleotides to skip at the 3' end of the ORF. useful if you know that the 3' end contains artifacts. |
conf.level |
Confidence level. |
bpparam |
A |
threshold |
The enrichment threshold. |
A tibble with the following columns:
Experiment.
Replicate.
Gene.
Start of continuous binding region. If the binning mode for fit_background_model
was byaa
, this will be in codons, otherwise in nucleotides.
End of continuous binding region.
Width of continuous binding region.
Sum of counts of sample1 within the binding region. Note that the actual column name
is the value of sample1
.
Sum of counts of sample2 within the binding region. Note that the actual column name
is the value of sample1
.
Binding class of the binding region. 2 for high-confidence regions, 1 for low-confidence regions.
get_binding_positions
, plot_binding_positions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.