Description Usage Arguments Details Author(s)
View source: R/remove_uncovered_residues.r
Exclude residue positions from a dataset based on coverage files
1 2 3 4 5 6 7 | remove_uncovered_residues(
dataset,
case_coverage,
control_coverage,
cov_threshold,
messages
)
|
dataset |
case-control data.table with at least columns: symbol and protein_position |
case_coverage |
optional coverage data for cases in format: data.table(symbol, index, over_10) |
control_coverage |
optional coverage data for controls in format: data.table(symbol, index, over_10) |
cov_threshold |
threshold at which to exclude a residue position from the analysis (choose 0 to keep all residues) |
messages |
print messages to the terminal (e.g. how many variants removed by coverage) |
Variant residues are removed from both cases and controls if they have low coverage in either case or control coverage. These positions are also removed from the coverage files to make downstream esimation of regional coverage accurate in light of variants removed.
Adam Waring - adam.waring@msdtc.ox.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.