GithubHelp home page GithubHelp logo

xiaomingfu2013 / splatter-paper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oshlack/splatter-paper

0.0 0.0 0.0 135.71 MB

Data and analysis for the Splatter paper

License: MIT License

Shell 6.05% R 93.95%

splatter-paper's Introduction

DOI

Splatter paper

Data and analysis for the paper "Splatter: Simulation of Single-cell RNA sequencing data".

Directory structure

  • additional - Supplementary figures and files
  • analysis - Analysis files and output
  • data - Input data files
  • figures - Figures used in the main paper
  • output - Additional intermediate files
  • R - R functions used in analysis

Data

Data files used in the analysis are available in the data.tar.gz file. This file should be extracted to data before attempting to run any of the analysis.

tar -xzvf data.tar.gz

After extraction the data directory will contain the following files:

  • datasets.txt - Metadata about the various datasets
  • Camp.txt - The Camp dataset
  • Engel.tsv - The Engel dataset
  • Klein.csv - The Klein dataset
  • Tung.txt - The Tung dataset
  • Zeisel.txt - The Zeisel dataset

Analysis

The code for completing the analysis shown in the paper is provided as the following Rmarkdown files in the analysis directory:

  • simulations.Rmd - Some examples of Splat simulations.
  • performance.Rmd - Processing time benchmarking.
  • datasets.Rmd - Comparison of simulations based on various datasets.
  • clustering.Rmd - Example evaluation of the SC3 clustering method.
  • supplementary.Rmd - Supplementary figures.

There are two additional Rmd files which are rendered via supplementary.Rmd. These are additional_figures.Rmd which combines the additional figures into a single PDF and sessionInfo.Rmd which outputs the details of all the packages used during the analysis.

Running the analysis files will produce figure files in the figures and additional directories as well as data files in the output directory.

Please be aware that some of the analysis (particularly datasets.Rmd) requires large amounts of resources (processing, memory, time) and may require slight modifications to run in your environment.

R

This directory contains the following functions used in the analysis:

  • load_datasets.R
    • loadDataset - Takes a row from datasets.txt and the path to the data files then returns an expression matrix for that dataset
  • simulate_datasets.R
    • simData - Takes a counts matrix, estimates parameters and simulates data using various models
  • test_genes.R
    • testGenesGoF - Test the goodness of fit for each gene with regards to various distributions
  • utils.R
    • chrRound - Rounds a number for presentation, converting it to a string
    • logistic - Implementation of the logistic function
    • mcri.palettes - List of colour palettes used for some plots
    • mcriPalette - Returns colour palette of particular size

splatter-paper's People

Contributors

authorea-committer avatar lazappi 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.