Git Product home page Git Product logo

als_clinical_trials's Introduction

ALS_clinical_trials

The goal of ALS_clinical_trials is to โ€ฆ

library(tidyverse)
library(patchwork)

Re-use data from our manuscript

This is a brief R tutorial on how to work with the data from our paper.

Read in the data (download from the data directory above, or from the supplement of our paper):

timepoints <- read_csv( "https://raw.githubusercontent.com/FelixTheStudent/ALS_clinical_trials/main/data/data_timepoints.csv")
patients <- read_csv( "https://raw.githubusercontent.com/FelixTheStudent/ALS_clinical_trials/main/data/data_patientInfo.csv" )

To illustrate how disease progression is correlated with our biomarker (blood levels of neurofilament light chain, measured at time of diagnosis), we visualize four selected patients:

patient_colors <- c("#00b159", "#ffc425", "#f37735", "#d11141");
names(patient_colors) <- c("p32", "p715", "p20", "p33")


df <- timepoints %>% filter(patient %in% c("p20", "p32", "p33", "p715" ))
df %>% ggplot(aes(time, ALSFRSR, col=patient))+geom_point() + ylim(c(0, 60)) + 
  scale_color_manual(values = patient_colors) + xlab("Time since diagnosis [months]")+
  theme_classic()+
df %>% ggplot(aes(time, nfl, col=patient))    +geom_point() + scale_y_log10(limits=c(1,1500)) +
  scale_color_manual(values = patient_colors) + xlab("Time since diagnosis [months]")+
  ylab("Neurofilaments in blood [pg/ml]")+ theme_classic() +
  plot_layout(guides="collect")
#> Warning: Removed 24 rows containing missing values (geom_point).

This enables prediction of disease progression, increasing statistical power in clinical ALS trials. More details can be found in our manuscript:

Simon Witzel and Felix Frauhammer et al., 2021 (manuscript submitted)

als_clinical_trials's People

Contributors

felixthestudent avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.