Skip to content

Commit f89c78a

Browse files
timothymillarmergify[bot]
authored andcommitted
Add pedigree_kinship sgkit-dev#845
1 parent 7ce14d8 commit f89c78a

10 files changed

+986
-3
lines changed

docs/api.rst

+4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Methods
9292
maximal_independent_set
9393
observed_heterozygosity
9494
pbs
95+
pedigree_kinship
9596
pc_relate
9697
regenie
9798
sample_stats
@@ -173,9 +174,12 @@ By convention, variable names are singular in sgkit. For example, ``genotype_cou
173174
variables.stat_Garud_h12_spec
174175
variables.stat_Garud_h123_spec
175176
variables.stat_Garud_h2_h1_spec
177+
variables.stat_Hamilton_Kerr_lambda_spec
178+
variables.stat_Hamilton_Kerr_tau_spec
176179
variables.stat_identity_by_state_spec
177180
variables.stat_observed_heterozygosity_spec
178181
variables.stat_pbs_spec
182+
variables.stat_pedigree_kinship_spec
179183
variables.stat_Tajimas_D_spec
180184
variables.stat_Weir_Goudet_beta_spec
181185
variables.traits_spec

sgkit/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from .stats.ld import ld_matrix, ld_prune, maximal_independent_set
3333
from .stats.pc_relate import pc_relate
3434
from .stats.pca import pca
35-
from .stats.pedigree import parent_indices
35+
from .stats.pedigree import parent_indices, pedigree_kinship
3636
from .stats.popgen import (
3737
Fst,
3838
Garud_H,
@@ -81,6 +81,7 @@
8181
"ld_prune",
8282
"maximal_independent_set",
8383
"parent_indices",
84+
"pedigree_kinship",
8485
"sample_stats",
8586
"variant_stats",
8687
"diversity",

0 commit comments

Comments
 (0)