Giter Site home page Giter Site logo

brilliantfire / allen-aging-dementia-tbi Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 714.52 MB

Predicting dementia status using the data from Allen Institute of Brain Science's Aging, Dementia, & TBI Study

R 1.01% Python 0.03% Jupyter Notebook 54.66% HTML 43.08% CSS 0.06% JavaScript 1.13% TeX 0.04%

allen-aging-dementia-tbi's Introduction

Allen-aging-dementia-TBI

Repo for loading and analyzing the data from the Allen Institute of Brain Science's Aging, Dementia, & TBI Study. The goal of the project is to develop features from gene expression levels for over 50,000 genes to be used along with neuropathological measurements, demographic information, and medical history data from 107 donors in models of dementia probability. Most scripts were written using Anaconda distributions of R 3.5.1 and Jupyter Lab. There are a few Python versions that I've played with but the bulk of the project is in R.

Inputs and outputs of scripts in ETL, EDA , feature-engineering, final-dataset-prep, and lasso-models-and-evaluation are stored in data. The work folder contains scripts in progress.

The blog-notebooks folder has some Jupyter notebooks I made in the process of blogging about this project. See my Jekyll blog.

This project is being used to fulfill the requirements of the Master of Science in Predictive Analytics program (now Master's in Data Science) from Northwestern University. Thanks for checking it out!

../ETL

  • expected_count_TPM_FPKM_load.py/.R - Loads data from study website (R and Python versions)
  • subset_count_data.R - Subsets RNA-seq counts by brain region or donor sex

../EDA

  • plotly_mds_plots_html.R - Generates HTMLwidget multidimensional scaling plots of RNA-seq data using the plotly library
  • differential_expression_dispersions_exact_tests.R - hypothesis testing for differential gene expression
  • differential_expression_visualizations.R - visualizations & analysis of differential analysis results

../feature-engineering

  • clustering_experiments_gene_expression.R - Uses clValid to test different clustering methods and parameters on gene expression levels data
  • feature_engineering_dataset_construction - Runs k-medoids clustering via CLARA; adds medoids as features to tables of neuropathological, demographic, and medical history data for each patient/donor; accesses the mygene.info database for gene ontologies and creates cloud visualizations of biological process terms for each cluster

../final-dataset-prep

  • data_preparation.R - Preparation of final dataset for modeling, including: dropping variables, converting categorical features to factor variables & reordering levels, and imputation of missing variables by CART (classification & regression trees) using the mice library; also includes location metric (mean & median) comparisons for all numeric variables

../lasso-models-and-evaluation

  • lasso_models_and_evaluation.R - LASSO (Least Absolute Shrinkage and Selection Operator)-penalized logistic regression using the glmnet library; Labeling at two different cutoffs probability; Model evaluation using confusion matrices and ROC curves
This README last updated on: 2018-10-20

allen-aging-dementia-tbi's People

Contributors

brilliantfire avatar

Stargazers

 avatar  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.