Description Usage Arguments Value
Helper function to determine heterzogosity at a position from allele counts Returns TRUE for heterozygous SNPs, FALSE otherwise based on coverage If reads are recorded from only one of reference or alternate allele, then it is automakically classified as homozygous If reads from both alleles are recorded, then we adopt a null hypothesis that the number of minor allele reads sequenced is distributed according to Binomial(p = 0.5, n), where n is the total read depth at that position. SNPs at which the null hypothesis p = 0.5 was rejected were classified as homozygous, while the remainder were classified as heterozygous.
1 |
cov |
vector of allele counts and coverage for a putative heterozygous SNP |
t |
threshold for hypothesis testing for heterozygosity, default 1e-8 (Illumina sequencing error rate) |
Boolean - TRUE for heterozygous, FALSE for homozygous
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.