Extract elements from genotype matrix W (whole or subset) stored on disk.
getW(
Glist = NULL,
bedfiles = NULL,
ids = NULL,
rsids = NULL,
rws = NULL,
cls = NULL,
impute = TRUE,
scale = FALSE,
allele = NULL
)
only provided if task="summary" or task="sparseld"
vector of name for the PLINK bed-file
vector of ids in W to be extracted
vector of rsids in W to be extracted
vector of rows in W to be extracted
vector of columns in W to be extracted
logical if TRUE missing genotypes are set to its expected value (2*af where af is allele frequency)
logical if TRUE the genotype markers have been scale to mean zero and variance one
vector of alleles to be extracted