You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identifies high-confidence genes associated with a given phenotype by pulling data from the OpenTargets platform.
135
+
#### Parameters
136
+
-`efo_id` (str): The EFO ID for a given phenotype. Must contain "EFO_####" or "MONDO_#####". Can be found at https://platform.opentargets.org/
137
+
-**Optional**:
138
+
-`min_goldstandards` (int) : Minimum goldstandards to pull. If filtering for coding variants, the genetic and overall bins (1.0-0.8, 0.6-0.8, 0.4-0.6, 0.2-0.4, 0.0-0.2) will be searched in full until we have a gold standard list greater than the minimum. If min_genetic or min_overall_association is set, this will be overridden. (Default = 10)
139
+
-`min_genetic_association` (float) : The minimum level of evidence for genetic scores to be considered. 0.0 means no evidence, 1.0 means extremely strong evidence. If > 0.0, min_goldstandards will be overridden. (Default = 0.0)
140
+
-`min_overall_association` (flaot) : The minimum level of evidence for overall scores to be considered. 0.0 means no evidence, 1.0 means extremely strong evidence. If > 0.0, min_goldstandards will be overridden. (Default = 0.0)
141
+
-`filter_for_coding` (bool) : Toggle to check for coding variant evidence, determined by coding variant lead SNPs in GWAS (OT Genetics) or Gene Burden testing. If False, will top genes according to min_goldstandards or all genes determined by min_genetic_association/min_overall_association. (Default = True)
142
+
-`savepath` (str): Path to save files.
143
+
#### Returns
144
+
-`list` : List of gold standard genes
145
+
-`pd.DataFrame`: Dataframe containing supporting evidence and filtering criteria of gold standard set.
146
+
147
+
132
148
### `string_enrichment()`
133
149
Assess gene set network connectivity and functional enrichment using the STRING API. Returns the same results as if you were using the web-browser website (string-db.org).
0 commit comments