diff options
author | Frederick Muriuki Muriithi | 2021-09-27 04:48:53 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-09-27 04:48:53 +0300 |
commit | 19783a18c2bc7941fc5980e593f19fb1d18c3623 (patch) | |
tree | f3a6e241be3c6224b9647c8258c516a7b741a28c /gn3/db/genotypes.py | |
parent | 8d9bc0f29ce9208306915b079818e6f0c31785e2 (diff) | |
download | genenetwork3-19783a18c2bc7941fc5980e593f19fb1d18c3623.tar.gz |
Update terminology: `strain` to `sample`
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* Update the terminology used: use `sample` in place of `strain` according to
Zachary's direction at
https://github.com/genenetwork/genenetwork3/pull/37#issuecomment-926043306
Diffstat (limited to 'gn3/db/genotypes.py')
-rw-r--r-- | gn3/db/genotypes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gn3/db/genotypes.py b/gn3/db/genotypes.py index 9987320..8f18cac 100644 --- a/gn3/db/genotypes.py +++ b/gn3/db/genotypes.py @@ -14,16 +14,16 @@ def build_genotype_file( def load_genotype_samples(genotype_filename: str, file_type: str = "geno"): """ - Load sample of strains from genotype files. + Load sample of samples from genotype files. DESCRIPTION: - Traits can contain a varied number of strains, some of which do not exist in + Traits can contain a varied number of samples, some of which do not exist in certain genotypes. In order to compute QTLs, GEMMAs, etc, we need to ensure - to pick only those strains that exist in the genotype under consideration + to pick only those samples that exist in the genotype under consideration for the traits used in the computation. This function loads a list of samples from the genotype files for use in - filtering out unusable strains. + filtering out unusable samples. PARAMETERS: |