-
sushie.io.read_triplet(path: str) → Tuple[DataFrame, DataFrame, Array][source]
- Read in genotype data in plink 1 format.
pandas_plink package is used to read in the plink file.
- Parameters:
- path: str
The path for plink genotype data (suffix only).
- 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