Skip to content

Loading and Wrangling

Loading and Wrangling 'SomaScan'

How to load and manipulate a ‘SomaScan’ flat text file into and R environment.

Safely Map Values via dplyr::left_join()

How to safely and reliably map variable between data frame columns.

Safely Rename Data Frames

How to safely and reliably rename variable names of a data frame (or soma_adat) in R.

Common train-test data setups

Simple code syntax for common machine learning (ML) training vs test setups in R.

Command Line Merge Tool

Command Line Merge Tool

A convenient CLI merge tool to add new clinical data to ‘SomaScan’ data.

Lifting and Bridging

Lifting and Bridging SomaScan

A primer on lifting and bridging ‘SomaScan’ data.

Statistical Workflow Examples

Binary Classification

Typical binary classification of ‘SomaScan’ data.

Linear Regression

Typical linear regression of continuous ‘SomaScan’ data.

ANOVA Three-Group Analysis

Typical > 2-group comparison of ‘SomaScan’ data.

Two-Group Comparison

Typical 2-group comparison of ‘SomaScan’ data.