Giter Club home page Giter Club logo

music_julia's Introduction

MuSiC implementation in Julia - Under Construction

This project allows for data preparation and analysis in the MuSiC (Multi-Sample Single-Cell) pipeline, which has been refactored into Julia for speed. This project is not complete yet and remains under construction.

Inspiration

This code was based on the following: LuoHan's Python implementation of MuSiC: https://github.com/Prayforhanluo/MuSiC_Python/blob/master/MuSiC.py

Bulk tissue cell type deconvolution with multi-subject single-cell expression reference: https://www.nature.com/articles/s41467-018-08023-x#Sec8

Raison d'etre

The original MuSiC implementation is done in R, and I wanted to see if implementing it in Julia yieleded performance benefits when used on larger datasets.

Project Structure

  • main.jl: The main entry point of the application.
  • src/: This directory contains the main modules of the application.
    • data_analysis.jl: Contains functions for data analysis.
    • data_loading.jl: Contains functions for loading data.
    • data_preparation.jl: Contains functions for preparing data.
  • Project.toml and Manifest.toml: These files are used by Julia's package manager.

How to Run

To run this project, you need to pass 4 arguments to the main.jl script. These arguments are the paths to the files that contain the SC Meta Info, SC Count Info, bulk Meta Info, and bulk Count Info, respectively.

julia main.jl path_to_sc_meta_info path_to_sc_count_info path_to_bulk_meta_info path_to_bulk_count_info

Dependencies

This project uses the following Julia packages:

  • DelimitedFiles
  • DataFrames
  • LinearAlgebra
  • Statistics

The environment can be replicated by calling instantiate from Julia's environment manager.

music_julia's People

Contributors

amit-h 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.