Learn R Programming

RImmPort (version 1.0.2)

getAssayDataOfStudies: Get specific assay data of one or more studies from the ImmPort database

Description

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

Usage

getAssayDataOfStudies(study_ids, assay_type)

Arguments

study_ids
List of study indentifiers
assay_type
Assay Type

Value

a list of 1) domain data of specicifc assay technology and 2) any supplemental domain data of the studies

Examples

Run this code
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)
elispot_l <- getAssayDataOfStudies("SDY139", "ELISPOT")
if (length(elispot_l) > 0)
  names(elispot_l)
head(elispot_l$zb_df)

Run the code above in your browser using DataLab