Coder Social home page Coder Social logo

marionilab / deconvolution2016 Goto Github PK

View Code? Open in Web Editor NEW
17.0 8.0 9.0 418 KB

Code and manuscript files for Aaron and Karsten's deconvolution paper.

TeX 74.93% R 24.29% Shell 0.20% Makefile 0.58%
manuscript normalization single-cell simulations

deconvolution2016's Introduction

Using deconvolution to normalize scRNA-seq data with many zeroes

Overview

This repository contains the code and manuscript files for the paper Pooling across cells to normalize single-cell RNA sequencing data with many zero counts, by Lun et al. (2016).

Note: Further updates and development of the analysis and simulation code will take place at https://github.com/MarioniLab/FurtherNorm2018. If you have general questions regarding the code (i.e., not specifically involving the manuscript), please post your issues at the above repository instead.

Simulations

To run the simulation code, enter simulations and then:

  1. Run lowcounts.R to perform the low-count simulations, or brittlesim.R to perform the high-count simulations.
  2. Run standerr.R to estimate the variance of the size factor estimates across methods.
  3. Run poolsim.R to compare the variability of the estimates with and without the ring arrangement.
  4. Run complexity.R to determine the time-complexity of the deconvolution method.

You can also run fewcounts.R to see behaviour with few cells, or highcounts.R to see behaviour at very high counts.

Real analyses

To run the real data analysis code:

  1. Make a data subdirectory and download the Zeisel et al. tables (http://linnarssonlab.org/cortex) and the Klein data (supplementary tables in GSM1599494, GSM1599499).
  2. Enter the realdata directory and run Zeisel.R and Klein.R to pre-process the data and estimate size factors for all cells in each of those two data sets.
  3. Run edgeR.R to identify DE genes in each data set, and GOAnalysis.R to perform a GO analysis on the DE genes.
  4. Run HVGAnalysis.R to identify highly variable genes in each data set.
  5. Run switchTestedgeR.R to perform the offset/covariate switching analysis.

Also, run plotKleinParam.R to generate plots that justify parameter settings in the simulations.

Manuscript

The manuscript directory contains all LaTeX code used to generate the manuscript. This can be compiled with make. It assumes that all of the simulations and real data analyses have already been performed.

deconvolution2016's People

Contributors

kabach avatar ltla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deconvolution2016's Issues

Shuffle miscellaneous text

Need to move timings into "constructing the linear system" section. Or maybe I should put it into the "obtaining sensible least squares" section, because the cubic complexity comes from solving the system. Something like:

The computational complexity of devolution is determined by the number of cells involved in the construction and solution of the linear system. This is discussed in more detail in Section X of Additional File 1. Empirical timings are also provided in Supplementary Figure Y.

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.