Description Usage Arguments Details Author(s) Examples
prepvar is used to prepare a variant database for further filtering with varfilter.
1 | prepvar(y, MAF, reference)
|
y |
the data frame containing the variants. |
MAF |
optional numeric, the MAF of the non-reference variants to be retained for filtering. |
reference |
the column containing the reference sequence in the y data frame. |
This function prepares the variants from a database like dbSNP to be used for filtering variants in cases. MAF is optional and specifies a minimum allele frequency for the database variants to be retained for variant filtering. The input of y should be the standard output of the UCSC table browser ("all fields from selected table"). For large files, running time can be quite long. An alternative supporting parallel computing is prepvarpar. For the actual filtering, use varfilter.
Bart Broeckx
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.