Giter Site home page Giter Site logo

analysis_of_single_cell_data_for_usp22_project's Introduction

Analysis_of_single_cell_data_for_Usp22_project

The analysis pipeline can be run to reproduce the results of the scRNA-seq analysis in our manuscript. Data required to run the analysis will be made available as soon as the manuscript is published.

The data were generated in two independent experiments. In each experiment samples of one wild type and one Usp22 knock-out mouse were processed. The provided code is designed to process data of the two experiments independently, so that genotypes are only compared within the same experiment. To process data of the two experiments consistently, some settings identified based on data from the first experiment (e.g. genes used for dimensionality reduction) are reused for processing data of the second experiment. Therefore, it is important to stick to this chronological order when reproducing the analysis.

One way to run the pipeline is to create a new R-project in RStudio using the Git option. When creating the R-project, specify the URL of our git repository to create a local copy in your R-project. After cloning the repository successfully, the whole pipeline can be executed by running the main.R script:

  1. Open the main.R file and adjust the following settings: Line 54: specifiy which replicate of the single-cell experiment you are analysing (1 or 2; start with 1); Line 57, 60: specifiy if you want to save objects that are generated during the analysis (this can save you time if you need to rerun the pipeline and protects you from loosing information if the pipeline breaks due to memory exhaustion); Line 63: if you have already run the pipeline and you saved intermediate objects, you can use this option to reuse those objects to save time; Line 68: specify the location to which objects will be written; Line 79-96: specifiy the paths to the input data (count matrices); Line 101: specify the name of the folder in which plots will be saved;
  2. Run the first section of the main.R file until all dependencies are installed and R is restarted.
  3. Afterwards run the rest of the main.R script and the complete pipeline should be executed automatically.
  4. Execute the pipeline a second time after specifying "replicate 2" in line 54.
  5. You can now execute scripts which names start with "X_". Those script use objects generated by the pipeline. The script for processing the data from Camargo et al (DOI: 10.1038/nature25168) can be executed independent of generated objects.

Make sure that your computer remains connected to the internet while running the pipeline as some functions connect to databases.

known issue: Sometimes the Biomart server is not available and therefore the cell annotation function fails. This issue should resolve when running the script at a later time.

DOI

analysis_of_single_cell_data_for_usp22_project's People

Contributors

jome1994 avatar

Watchers

James Cloos 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.