Description Usage Arguments Details Value Author(s)
Calculate a p-values from the BIN-test across the whole-exome
1 2 3 4 5 6 7 8 9 | BIN_test_WES(
cases,
controls,
case_coverage = NULL,
control_coverage = NULL,
cov_threshold = 0.5,
covstats = F,
messages = T
)
|
cases |
case data in format: data.table(aff, symbol, protein_position, ac) |
controls |
control data in format: data.table(aff, symbol, protein_position, ac) |
case_coverage |
optional coverage data for cases in format: data.table(symbol, protein_position, over_10) |
control_coverage |
optional coverage data for controls in format: data.table(symbol, protein_position, over_10) |
cov_threshold |
threshold at which to exclude a residue position from the analysis (choose 0 to keep all residues) |
covstats |
include additional coverage information as a column in results? |
messages |
print messages to the terminal (e.g. how many variants removed by coverage) |
This method splits each gene into k = n ^ (2/5) bins where n is the total number of observed variants in the gene. To control for uneven coverage cell counts are adjusted by the reciprocal of the mean 10X coverage across the bin.
Returns a data.table: symbol, p-value, covstats (optional)
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.