-
sushie.io.read_bgen(path: str) → Tuple[DataFrame, DataFrame, Array][source]
- Read in genotype data in bgen 1.3 format.
bgen-reader package is used to read in the bgen file.
- Parameters:
- path: str
The path for bgen genotype data (full file name).
- Returns:
- A tuple of
SNP information (bim; pd.DataFrame
),
individuals information (fam; pd.DataFrame
),
genotype matrix (bed; Array
).
- Return type:
Tuple[pd.DataFrame, pd.DataFrame, Array]
Last update:
Oct 27, 2024