Description Usage Arguments Value See Also Examples
View source: R/phenotypes_byid.R
Get all openSNP known variations and all users sharing that phenotype for one phenotype(-ID).
1 2 3 4 5 | phenotypes_byid(
phenotypeid = NA,
return_ = c("description", "knownvars", "users"),
...
)
|
phenotypeid |
ID of openSNP phenotype. |
return_ |
Return data.frame ( |
... |
Curl options passed on to crul::HttpClient |
List of description of phenotype, list of known variants, or data.frame of variants for each user with that phenotype.
Other opensnp-fxns:
allgensnp()
,
allphenotypes()
,
annotations()
,
download_users()
,
fetch_genotypes()
,
genotypes()
,
phenotypes()
,
users()
1 2 3 4 5 6 7 8 9 | ## Not run:
phenotypes_byid(phenotypeid=12, return_ = 'desc')
phenotypes_byid(phenotypeid=12, return_ = 'knownvars')
phenotypes_byid(phenotypeid=12, return_ = 'users')
# pass on curl options
phenotypes_byid(phenotypeid=12, return_ = 'desc', verbose = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.