Learn R Programming

rsnps (version 0.6.0)

users: Get openSNP users.

Description

Get openSNP users.

Usage

users(df = FALSE, ...)

Value

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

Arguments

df

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

...

Curl options passed on to crul::HttpClient

See Also

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

Examples

Run this code
if (FALSE) {
# 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
}

Run the code above in your browser using DataLab