Skip to content

Commit 0a5a549

Browse files
committed
name ridge parameter
1 parent 422d393 commit 0a5a549

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sgkit/stats/regenie.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _stage_1(G: Array, X: Array, Y: Array, alphas: Optional[NDArray] = None) ->
262262
these predictions, a technique commonly referred to as stacking.
263263
264264
For more details, see the level 0 regression model described in step 1
265-
of [Mbatchou et al. 2020](https://www.biorxiv.org/content/10.1101/2020.06.19.162354v2).
265+
of [Mbatchou et al. (2021) Nat Genet](https://doi.org/10.1038/s41588-021-00870-7).
266266
"""
267267
assert G.ndim == 2
268268
assert X.ndim == 2
@@ -799,9 +799,11 @@ def regenie(
799799
Defaults to 10 sample blocks split roughly across all possible
800800
samples or the number of samples, if that number is < 10.
801801
alphas
802-
List of alpha values to use for regularization, by default None.
802+
List of ridge parameter values to use for regularization, by default None.
803803
If not provided, these will be set automatically based on
804-
datasize and apriori heritability assumptions.
804+
datasize and apriori heritability assumptions. See the description of
805+
level 0 ridge regressions in the Supporting Information of [1] for more
806+
details.
805807
add_intercept
806808
Whether or not to add intercept to covariates, by default True.
807809
normalize

0 commit comments

Comments
 (0)