View source: R/ctwas_read_data.R
read_pgen | R Documentation |
Read pgen file into R
read_pgen(pgen, variantidx = NULL, meanimpute = F)
pgen |
.pgen file or .bed file |
variantidx |
variant index. If NULL, all variants will be extracted. |
A matrix, columns are allele count for each SNP, rows are for each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.