View source: R/ctwas_read_data.R
prep_pgen | R Documentation |
Read .pgen file into R
prep_pgen(pgenf, pvarf)
pgenf |
.pgen file or .bed file |
pvarf |
.pvar file or .bim file with have proper header. Matching 'pgenf'. |
A matrix of allele count for each variant (columns) in each sample (rows). ALT allele in pvar file is counted (A1 allele in .bim file is the ALT allele).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.