Description Usage Arguments Details Value Note Author(s) See Also Examples
This function will retrieve a list of all subjects and their personal information for a certain study.
1 | getSubjects(study.name, as.data.frame = TRUE)
|
study.name |
a character string giving the name of a study |
as.data.frame |
logical. If TRUE (default setting) the subject information is returned as a data.frame. If set to FALSE the function returns the information as a list. |
The function will return for each subject the subjectID and their personal information, such as for example sex, age and ethnicity.
A data.frame (or list) is returned, whereby each row (or list element) contains the information partaining to one subject.
To be able to access a transmart database, you need to be connected to the server the database is on. If you haven't connected to the server yet, establish a connection using the connectToTransmart
function.
Tim Dorscheidt, Jan Kanis, Rianne Jansen. Contact: development@thehyve.nl
1 2 3 4 5 | ## Not run:
# The following will retrieve a data.frame with subject-information for the study "foo"
getSubjects("foo")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.