Coder Social home page Coder Social logo

path-ai / hif2gene Goto Github PK

View Code? Open in Web Editor NEW
41.0 5.0 13.0 260.93 MB

Data and code to accompany our Nature publication

Home Page: https://www.nature.com/articles/s41467-021-21896-9

License: Other

Jupyter Notebook 99.69% R 0.27% Python 0.04%
deep-learning pathology

hif2gene's Introduction

hif2gene: Dense, high-resolution mapping of cells and tissues from cancer pathology images for the interpretable prediction of molecular phenotypes

Overview

hif2gene is the primary code repository for reproducing analyses in Diao, Chui, and Wang et al. 2020: "Dense, high-resolution mapping of cells and tissues from pathology images for the interpretable prediction of molecular phenotypes in cancer"

You can read the full publication in Nature: Human-interpretable image features derived from densely mapped cancer pathology slides predict diverse molecular phenotypes

Installation

Contents

  1. /scripts contains all Python and R code used to produce content in /figures from /data
  2. /data contains all raw and cached data objects needed to reproduce the analysis from scratch
  3. /figures contains all primary figures as individual vectorized .pdf

Version and package requirements

  • R version: 3.6.2
    • caret
    • cluster
    • cowplot
    • data.table
    • devtools
    • dplyr
    • ggplot2
    • ggpubr
    • mclust
    • openxlsx
    • readxl
    • stringr
  • Python version: 3.7.4
    • collections
    • copy
    • group_lasso
    • ipython
    • lifelines
    • math
    • matplotlib
    • numpy
    • pandas
    • pickle
    • plotly
    • random
    • scipy
    • seaborn
    • sklearn
    • statsmodels
    • sys
    • umap
    • warnings

Abstract

Computational methods have made substantial progress in improving the accuracy and throughput of pathology workflows for diagnostic, prognostic, and genomic prediction. Still, lack of interpretability remains a significant barrier to clinical integration. We present a novel approach for predicting clinically-relevant molecular phenotypes from whole-slide histopathology images using human-interpretable image features (HIFs). Our method leverages >1.6 million annotations from board-certified pathologists across >5,700 samples to train deep learning models for cell and tissue classification that can exhaustively map whole-slide images at two and four micron-resolution. Cell- and tissue-type model outputs are combined into 607 HIFs that quantify specific and biologically-relevant characteristics across five cancer types. We demonstrate that these HIFs correlate with well-known markers of the tumor microenvironment and can predict diverse molecular signatures (AUROC 0.601-0.864), including expression of four immune checkpoint proteins and homologous recombination deficiency, with performance comparable to ‘black-box’ methods. Our HIF-based approach provides a comprehensive, quantitative, and interpretable window into the composition and spatial architecture of the tumor microenvironment.

License

Shield: CC BY-SA 4.0

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

hif2gene's People

Contributors

jason-ku-wang avatar joeman4ever avatar logankilpatrick avatar spacez320 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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