getDomainDataOfStudies: Get specific domain data of one or more studies from the...

Description Usage Arguments Value Examples

View source: R/Study.R

Description

Get specific domain data of one or more studies from the ImmPort database

Usage

1
getDomainDataOfStudies(domain, study_ids)

Arguments

domain

Name of a specific domain

study_ids

List of study indentifiers

Value

a list of 1) domain data and 2) supplemental domain data of the studies

Examples

1
2
3
4
5
6
7
library(DBI)
library(sqldf)
studies_dir <- system.file("extdata", "ImmPortStudies", package = "RImmPort")
db_dir <- file.path(studies_dir, "Db")
sqlite_conn <- dbConnect(SQLite(), dbname=file.path(db_dir, "ImmPort.sqlite"))
setImmPortDataSource(sqlite_conn)
dm_df <- getDomainDataOfStudies("Demographics", "SDY139")

RImmPort documentation built on Nov. 1, 2018, 4:26 a.m.