Coder Social home page Coder Social logo

ylaboratory / seismic Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 46.21 MB

Seismic R package. Discover cell type-trait associations in minutes for GWAS and single-cell RNA-sequencing data

License: BSD 3-Clause "New" or "Revised" License

R 100.00%
gwas scrna single-cell

seismic's Introduction

seismic: Single-cell Expression Investigation for Study of Molecular Interactions and Connections

This repository contains code for the R package seismicGWAS a method for calculating cell type-trait associations given GWAS and single cell RNA-sequencing data.

Citation

Disentangling associations between complex traits and cell types with seismic. Lai Q, Dannenfelser R, Roussarie JP, Yao V. BioRxiv. April 2024.

About

Integrating single-cell RNA sequencing (scRNA-seq) with Genome-Wide Association Studies (GWAS) can help reveal GWAS-associated cell types furthering our understanding of the cell-type-specific biological processes underlying complex traits and disease. In order to rapidly and accurately pinpoint associations, we develop a novel framework, seismic, which characterizes cell types using a new specificity score. As part of the seismic framework, the specific genes driving cell type-trait associations can easily be accessed and analyzed, enabling further biological insights. The following figure depicts a high level overview of this process.

method overview

Installation

To install the seismic package first clone the seismic repo and then use devtools within R to point to seismic and install.

devtools::install(path_to_seismic_folder)
library('seismicGWAS')

Usage

Below we quickly show how to use seismicGWAS to calcuate cell type-trait associations for the sample data included in the package. Full usage instructions, including a walk through of all major functions can be found in the vignette.

# calculate cell type specificity scores using included sample data
tmfacs_sscore <- calc_specificity(tmfacs_sce_small, ct_label_col='cluster_name')

# convert mouse gene identifiers to human ones that match data in GWAS summary data
# from MAGMA
tmfacs_sscore_hsa <- translate_gene_ids(tmfacs_sscore, from='mmu_symbol')

# calculate cell type-trait associations for type 2 diabetes
get_ct_trait_associations(tmfacs_sscore_hsa, t2d_magma)

# find the influential genes for a significant cell type-trait association
# in type 2 diabetes
find_inf_genes("Pancreas.beta cell", tmfacs_sscore_hsa, t2d_magma)

seismic's People

Contributors

ruthanium avatar vicyao avatar vincentqlai avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

seniormars

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.