Coder Social home page Coder Social logo

baynormjl.jl's Introduction

bayNormJL.jl: bayNorm in Julia

bayNorm in Julia, super fast! The R package can be found here (more detailed about parameter setting): https://github.com/WT215/bayNorm](https://github.com/WT215/bayNorm).

bayNormJL is a Julia package which is used to normalize single-cell RNA-seq data.

Code for bayNorm paper

The code for producing figures in bayNorm paper [1] can be found here

To install the package under Julia 1.2+ using Pkg, simply enter its interactive mode by pressing ] in the Julia REPL and run add https://github.com/WT215/bayNormJL.jl.git

The output of bayNorm is of type Dict.

Quick start

using bayNormJL

#A toy scRNA-seq data
Data=[1:10 1:10 3:12 4:13] 
#Cell-specific capture efficiency. Default is nothing.
Beta=[0.1,0.5,0.3,0.4]

outt=bayNormJL.bayNorm(Data=Data, BETA_vec=Beta, Conditions = nothing,UMI_sffl = nothing,Prior_type = nothing,mode_version =false,mean_version=true,S = 20,FIX_MU = true,BB_SIZE_par = true, verbose = true)

#Access to the normalized data
outt["Bay_out"]

Parallel computing

using Distributed
#Using 8 cores
addprocs(8)
@everwhere using bayNormJL

#A toy scRNA-seq data
@everywhere Data=[1:10 1:10 3:12 4:13] 
#Cell-specific capture efficiency. Default is nothing.
@everywhere Beta=[0.1,0.5,0.3,0.4]

outt=bayNormJL.bayNorm(Data=Data, BETA_vec=Beta, Conditions = nothing,UMI_sffl = nothing,Prior_type = nothing,mode_version =false,mean_version=true,S = 20,FIX_MU = true,BB_SIZE_par = true, verbose = true)

#Access to the normalized data
outt["Bay_out"]

References

baynormjl.jl's People

Contributors

wt215 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

baynormjl.jl's Issues

What is the recommended workflow for reading data?

Thanks for providing this Julia package. I'm struggling with the lack of documentation. What is the recommended way to feed in data? For example, if I have a SingleCellExperiment object in an .rds file, is there a way to read this into Julia or should I convert it into something else in R first, and if so what?

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.