Description Usage Arguments Details Value Error Author(s) References Examples
View source: R/selectNuclPos.R
This function selects pairs of nucleotide positions for computing log-ratios of control-control and treatment-control replicate comparisons.
1 | selectNuclPos(se, Nc, Nt, t)
|
se |
A |
Nc |
Number of control experimental replicates. Must be at least 2. |
Nt |
Number of treatment experimental replicates. Must be at least 2. |
t |
Threshold for the minimum allowed coverage. Must be non-negative. |
This function uses combn
.
analysedC |
List where each element corresponds to a control-control replicate
comparison. Each element holds indices of nucleotides that have coverage
>= |
analysedCT |
List where each element corresponds to a treatment-control replicate
comparison. Each element holds indices of nucleotides that have coverage
>= |
The following errors are returned if:
"The number of experimental replicates must be at least 2." the number of control or treatment experimental replicates is less than 2;
"The minumum coverage threshold must be non-negative." the threshold for the minimum considered coverage is negative;
"The coverage and drop-off count matrices should not have NA entries." the coverage and drop-off count matrices have NA entries.
Alina Selega, Sander Granneman, Guido Sanguinetti
Selega et al. "Robust statistical modeling improves sensitivity of high-throughput RNA structure probing experiments", Nature Methods (2016).
1 | selectNuclPos(se, 3, 3, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.