mergeDomainAndSupplemental: Merge the Domain dataframe and Supplemental dataframe (long...

Description Usage Arguments Value Examples

Description

The Domain data list comprises of the the Domain datafrome that is in wide form, and any Supplemental dataframe that is in long form. The function mergeDomainAndSupplemental transposes the Supplemental dataframe into a wide form, and merges it with the Domain dataframe.

Usage

1

Arguments

data_list

A list of 1) Domain dataframe and 2) any Supplemental dataframe

Value

The merged dataframe

Examples

1
2
3
4
5
6
7
8
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)
l <- getDomainDataOfStudies("Cellular Quantification", "SDY208")
df <- mergeDomainAndSupplemental(l)

hzc363/RImmPort documentation built on May 17, 2019, 7:06 p.m.