users: Get openSNP users.

Description Usage Arguments Value See Also Examples

View source: R/users.R

Description

Get openSNP users.

Usage

1

Arguments

df

Return data.frame (TRUE) or not (FALSE). Default: FALSE

...

Curl options passed on to crul::HttpClient

Value

List of openSNP users, their ID numbers, and XX if available.

See Also

Other opensnp-fxns: allgensnp(), allphenotypes(), annotations(), download_users(), fetch_genotypes(), genotypes(), phenotypes_byid(), phenotypes()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# just the list
data <- users(df = FALSE)
data

# get a data.frame of the users data
data <- users(df = TRUE)
data[[1]] # users with links to genome data
data[[2]] # users without links to genome data

## End(Not run)

rsnps documentation built on Jan. 28, 2022, 5:07 p.m.