Coder Social home page Coder Social logo

furthernorm2018's Introduction

Further scaling normalization

Overview

This repository contains code for further development of the scaling normalization methods implemented in the scran package. It is based on the code at https://github.com/MarioniLab/Deconvolution2016, which accompanies the paper Pooling across cells to normalize single-cell RNA sequencing data with many zero counts by Lun et al. (2016).

Setting up

First, install the helper package in package/ with:

R CMD INSTALL package/

... or some variant thereof. It is also worth running:

BiocManager::install(ask=FALSE, version="devel")

... to ensure that the latest versions of all relevant packages are installed.

Simulations

To run the simulations, enter the simulations/ directory and run:

  • sim_noDE.R, which simulates a variety of scenarios involving no DE between populations.
  • sim_biDE.R, which simulates a variety of scenarios involving DE between two populations.
  • sim_multiDE.R, which simulates a variety of simulations involving DE between three populations.

Note that the parallelization framework assumes a SLURM cluster with the Rdevel command (to run a version of R with BioC-devel packages). This can be changed by modifying createBatchParam.R in package/R and/or slurm.tmpl in package/inst/scripts.

To summarize the simulation results, run summarizer.R to cluster the simulation scenarios based on the pattern of errors across all methods.

Real data

To analyze real data, enter the real directory and run:

  • zeisel.Rmd, to compute size factors for the Zeisel brain data set.
  • pbmc4k.Rmd, to compute size factors for the PBMC 4K data set.

furthernorm2018's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ltla coke-zhang

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.