Coder Social home page Coder Social logo

finemapper's Introduction

Introducion

finemappeR is an R package that utilizes torus and susieR to perform functionally-informed genetic finemapping.

Dependencies

We recommend using R > 3.5 (has not been tested on older versions).

The package depends on TORUS, an external C++ library. To ensure this package is compiled, your system must have the following C/C++ libraries are required for compiling the source code

  • GNU GSL library
  • Zlib library
  • Boost C++ library

Install

Begin by installing this repo:

devtools::install_github('aselewa/finemappeR')

After installing, check that it loads properly:

library(finemappeR)

Reference panel

Finemapping requires linkage-disequilibrium information. We utilize the R package bigsnpr to read in PLINK files (bed/bim/fam) into R on the fly. If you have PLINK files, you can use bigsnpr::snp_readBed() to obtain a file with .rds extension. This RDS file is used for downstream analyses when attached with bigsnpr::snp_attach().

Vignettes

finemapper's People

Contributors

aselewa avatar

Watchers

James Cloos avatar  avatar

Forkers

j3gu kevinlkx

finemapper's Issues

parallelize RunFinemapping over LD blocks

RunFinemapping is a wrapper around susie.rss, which is ran on each LD chunk sequentially. This can be very slow when the number of SNPs is large. Easiest to do is parallelize over LD chunks taking into account memory constraints (each call to RunFinemapping computes the LD matrix which can be very large.)

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.