Group by sex
It is easy to investigate the differences between males and females.
The sex_classifier()
assigns
an individual into a class based on the Sex
:
>>> from gpsea.analysis.clf import sex_classifier
>>> gt_clf = sex_classifier()
>>> gt_clf.class_labels
('FEMALE', 'MALE')
The individuals with UNKNOWN_SEX
will be omitted from the analysis.
Note that we implemented this classification as a GenotypeClassifier
.
Currently, it is not possible to compare the distribution of genotypes across sexes.