Description Usage Arguments Value Note Author(s)
This function thresholds the q-values computed by the shearwater algorithm and creates a VCF
object as output.
1 2 3 4 5 6 7 8 9 10 |
qvals |
array of q-values from |
counts |
array of counts from |
regions |
|
samples |
vector of samples names. |
err |
Optional matrix of error rates, otherwise recomputed from counts. |
mu |
Optional matrix of relative frequencies, otherwise recomputed from counts. |
cutoff |
Cutoff for the q-values below which a variant is considered to be true (default = 0.05) |
mvcf |
boolean flag, if TRUE compute a large VCF with as many genotype columns as samples. Default TRUE. Otherwise use duplicate rows and only one genotype column. The sample is then provided by the info:PD field. Can be inefficient for large sample sizes. |
A VCF
object
Experimental code, subject to changes
mg14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.