proteomicsHF is a package with Functions necessary to analyze and replicate results of biomarker discovery pipeline for SOMALogic 5K Assay proteins associated with incident heart failure. Results are cached and derived from the Atherosclerosis Risk in Communities (ARIC) cohort from visits three and five. Includes functions to set adjustment variables, impute missing variables, summarize data, conduct uni-protein and multi-protein analyses and visualize data. Also includes a number of utility functions for data manipulation and reporting.
Install the latest version of proteomicsHF from GitHub with:
# install.packages("devtools")
devtools::install_github("pranavdorbala/proteomicsHF")
This is is how you set up multicore processing:
library(proteomicsHF)
#> Loading required package: magrittr
#> Loading required package: rlang
#>
#> Attaching package: 'rlang'
#> The following object is masked from 'package:magrittr':
#>
#> set_names
#>
#> Attaching package: 'proteomicsHF'
#> The following object is masked from 'package:stats':
#>
#> rf
set.seed(101010)
#Set number of cores according to system
doParallel::registerDoParallel(8) # 2 * system cores
future::plan(future::multisession, workers = 4) # number of system cores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.