ReadHardcalls | R Documentation |
This function treats the data as diploid; you can divide by 2, and then treat 0.5 as NA, if it's actually haploid.
ReadHardcalls(pgen, buf, variant_num, allele_num = 2L)
pgen |
Object returned by NewPgen(). |
buf |
Buffer returned by Buf() or IntBuf(). |
variant_num |
Variant index (1-based). |
allele_num |
Allele index; 1 corresponds to REF, 2 to the first ALT allele, 3 to the second ALT allele if it exists, etc. Optional, defaults 2. |
No return value, called for buf-filling side-effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.