Description Usage Arguments Details Value Note Author(s) See Also Examples
This function will a retrieve a list of all the concepts for a certain study. This list contains for each concept the name and full name of the concept and the link to the location of this concept on the server.
Concepts are used in tranSMART to organise the stored study data. They are the folders and nodes on the left-hand side in tranSMART's data explorer. There can be clinical concepts such as age, diagnosis, blood pressure, and high dimensional concepts such as mRNA expression values or copy number variation.
1 | getConcepts(study.name, as.data.frame = TRUE, cull.columns = TRUE)
|
study.name |
a character string giving the name of a study |
as.data.frame |
logical (default setting is TRUE): should the list containing the concept information be converted to a data.frame? |
cull.columns |
logical. If TRUE (default setting) several non-essential columns are excluded. |
The "link.highdim.href"
column can be used to find out if high dimensional data is available for a certain study, and if it is available: which high dimensional datasets are available for this study. For details, see the next section ("Value").
A data.frame or list with information about all the concepts in a certain study. The following components may be present, depending on the server definitions, the data and the cull.columns settings:
name |
a character string containing the name of the concept |
key |
a character string. Similar to |
fullName |
a character string containing the full (path) name of the concept |
api.link.self.href |
a character string containing the link (" |
api.link.observations.href |
a character string or empty value. If clinical observation data is available for this study, then this data.frame column or list element is present. For the concepts that contain clinical observation data, the field in the " |
link.highdim.ref |
a character string or empty value. If high dimensional data is available for this study, then this data.frame column or list element is present. For the concepts that contain high dimensional data, the field in the " |
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 6 7 8 9 10 11 | ## Not run:
# obtain a list of all studies in the database
studies <- getStudies()
# select the name of one study from the list of studies
study1 <- studies$name[[1]]
# the following call will give all concepts for study1
concepts <- getConcepts(study1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.