ReadIntList | 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.
ReadIntList(pgen, variant_subset)
pgen |
Object returned by NewPgen(). |
variant_subset |
Integer vector containing 1-based indexes of variants to load. |
Integer matrix, where rows correspond to samples, columns correspond to variant_subset, and values are in {0, 1, 2, NA} indicating the number of hardcall ALT allele copies. For multiallelic variants, all ALT alleles are combined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.