Description Usage Arguments Value Examples
Retrieves variants for a specified phenotype, sex, and ancestry
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
phenotype_id |
A numeric phenotype id |
sex |
A character vector specifying a sex to retrieve data for |
ancestry |
A character vector specifying ancestries to retrieve data for |
chromosome |
Optional. A character vector specifying a chromosome to retrieve data for |
columns |
Optional. A character vector specifying properties to include for each variant |
snp |
Optional. A character vector specifying snps to retrieve |
position |
Optional. A numeric value specifying the chromosome position to retrieve data for |
position_min |
Optional. A numeric value specifying the minimum chromosome position for variants |
position_max |
Optional. A numeric value specifying the maximum chromosome position for variants |
p_value_min |
Optional. A numeric value specifying the minimum p-value for variants |
p_value_max |
Optional. A numeric value specifying the maximum p-value for variants |
order_by |
Optional. A character vector specifying the property to sort variants by |
order |
Optional. A character vector specifying the order to sort variants by. Either "asc" or "desc" |
offset |
Optional. A numeric value specifying the offset from which to begin retrieving variants |
limit |
Optional. A numeric value specifying the maximum number of variants to retrieve |
A dataframe containing variants
1 | plco.get_variants(1010, "female", "european", limit=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.