Extract elements from genotype matrix (rows/columns, ids/rsids) stored on disk.
getG(
Glist = NULL,
chr = NULL,
bedfiles = NULL,
bimfiles = NULL,
famfiles = NULL,
ids = NULL,
rsids = NULL,
rws = NULL,
cls = NULL,
impute = TRUE,
scale = FALSE
)
list structure with information about genotypes stored on disk
chromosome for which W is to be extracted
vector of name for the PLINK bed-file
vector of name for the PLINK bim-file
vector of name for the PLINK fam-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