geno4sd.utils.read_plink module
Summary
Functions:
Reads bed, bim and fam files and parses their contents into three arrays, respectively, or optionally into a dataframe. |
Reference
- parse_binary_plink(filename, n_jobs=1, verbose=0, dataframe=False)[source]
Reads bed, bim and fam files and parses their contents into three arrays, respectively, or optionally into a dataframe.
- Parameters
filename (str) – Name (without extension) of the plink files to parse.
n_jobs (int, default 1) – Number of threads to use when parsing.
verbose (int, default 0) – Level of verbosity. 0 Omits all output.
dataframe (bool, default False) – Flag to indicate whether to return three arrays or a pandas dataframe.