getStudiesWithSpecificDomainData {RImmPort}R Documentation

Get a list of studies that have specific domain data

Description

Get a list of studies that have specific domain data

Usage

getStudiesWithSpecificDomainData(domain, all_study_ids = c("ALL"))

Arguments

domain

Name of a specific domain

all_study_ids

List of study indentifiers to search on

Value

List of study indentifiers

Examples

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)
study_ids <- getStudiesWithSpecificDomainData("Demographics")

[Package RImmPort version 1.10.0 Index]