Skip to content

Commit fb9c70f

Browse files
committed
Add taxon_by param to aa_allele_frequencies_advanced()
1 parent 2a7577e commit fb9c70f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

malariagen_data/anoph/snp_frq.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ def aa_allele_frequencies_advanced(
681681
ci_method: Optional[frq_params.ci_method] = "wilson",
682682
chunks: base_params.chunks = base_params.native_chunks,
683683
inline_array: base_params.inline_array = base_params.inline_array_default,
684+
taxon_by: frq_params.taxon_by = frq_params.taxon_by_default,
684685
) -> xr.Dataset:
685686
# Begin by computing SNP allele frequencies.
686687
ds_snp_frq = self.snp_allele_frequencies_advanced(
@@ -698,6 +699,7 @@ def aa_allele_frequencies_advanced(
698699
ci_method=None, # we will recompute confidence intervals later
699700
chunks=chunks,
700701
inline_array=inline_array,
702+
taxon_by=taxon_by,
701703
)
702704

703705
# N.B., we need to worry about the possibility of the

0 commit comments

Comments
 (0)