@@ -736,7 +736,7 @@ def regenie(
736
736
) -> Dataset :
737
737
"""Regenie trait transformation.
738
738
739
- [ REGENIE]( https://github.com/rgcgithub/regenie) is a whole-genome
739
+ ` REGENIE < https://github.com/rgcgithub/regenie>`_ is a whole-genome
740
740
regression technique that produces trait estimates for association
741
741
tests. These estimates are subtracted from trait values and
742
742
sampling statistics (p-values, standard errors, etc.) are evaluated
@@ -790,14 +790,20 @@ def regenie(
790
790
Dataset
791
791
A dataset containing the following variables:
792
792
- `base_prediction` (blocks, alphas, samples, outcomes): Stage 1
793
- predictions from ridge regression reduction .
793
+ predictions from ridge regression reduction .
794
794
- `meta_prediction` (samples, outcomes): Stage 2 predictions from
795
- the best meta estimator trained on the out-of-sample Stage 1
796
- predictions.
795
+ the best meta estimator trained on the out-of-sample Stage 1
796
+ predictions.
797
797
- `loco_prediction` (contigs, samples, outcomes): LOCO predictions
798
- resulting from Stage 2 predictions ignoring effects for variant
799
- blocks on held out contigs. This will be absent if the
800
- data provided does not contain at least 2 contigs.
798
+ resulting from Stage 2 predictions ignoring effects for variant
799
+ blocks on held out contigs. This will be absent if the
800
+ data provided does not contain at least 2 contigs.
801
+
802
+ Raises
803
+ ------
804
+ ValueError
805
+ If dosage, covariates, and trait arrays do not have the same number
806
+ of samples.
801
807
802
808
Examples
803
809
--------
@@ -824,15 +830,10 @@ def regenie(
824
830
References
825
831
----------
826
832
[1] - Mbatchou, J., L. Barnard, J. Backman, and A. Marcketta. 2020.
827
- “Computationally Efficient Whole Genome Regression for Quantitative and Binary
828
- Traits.” bioRxiv. https://www.biorxiv.org/content/10.1101/2020.06.19.162354v2.abstract.
829
- [2] - https://glow.readthedocs.io/en/latest/tertiary/whole-genome-regression.html
833
+ “Computationally Efficient Whole Genome Regression for Quantitative and Binary
834
+ Traits.” bioRxiv. https://www.biorxiv.org/content/10.1101/2020.06.19.162354v2.abstract.
830
835
831
- Raises
832
- ------
833
- ValueError
834
- If dosage, covariates, and trait arrays do not have the same number
835
- of samples.
836
+ [2] - https://glow.readthedocs.io/en/latest/tertiary/whole-genome-regression.html
836
837
"""
837
838
if isinstance (covariates , str ):
838
839
covariates = [covariates ]
0 commit comments