Description Usage Arguments Value Examples
View source: R/load-data.R View source: R/load-data copy.R
Data Joining, Imputation, and Scaling
1 | get.data(master, soma.data, adjust)
|
master |
Master study data tibble from |
soma.data |
Parsed SomaLogic proteomic data tibble from |
adjust |
List of Adjustment variables. Must match |
Tibble of joined and cleaned proteomics and study data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Not run:
labels <- get.labels('data/proteinMapping.csv', sid,
uniprot.full.name,
entrezgenesymbol,
flag2 == 0)
soma.data.fifth <- get.soma('data/somaV5.txt', labels = labels)
fifth.visit.study <-
get.adjust(stata = haven::read_dta('data/ARICmaster_121820.dta'),
mods = list('data/visit-five/outcomes.csv',
'data/visit-five/adjusted.csv'),
filts = list('data/visit-five/filters.csv'))
adj <- readr::read_csv('data/visit-five/adjusted.csv')[[1]][-1]
visit.data <- get.data(fifth.visit.study, soma.data.fifth, adj)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.