Description Usage Arguments Value See Also Examples
View source: R/download_users.R
Download openSNP user files.
1 |
name |
User name |
id |
User id |
dir |
Directory to save file to |
... |
Curl options passed on to crul::HttpClient |
File downloaded to directory you specify (or default), nothing returned in R.
Other opensnp-fxns:
allgensnp()
,
allphenotypes()
,
annotations()
,
fetch_genotypes()
,
genotypes()
,
phenotypes_byid()
,
phenotypes()
,
users()
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# Download a single user file, by id
download_users(id = 14)
# Download a single user file, by user name
download_users(name = 'kevinmcc')
# Download many user files
lapply(c(14,22), function(x) download_users(id=x))
read_users(id=14, nrows=5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.