Skip to content

GeorgeSaab/Rare_Cell-Type_Detection

 
 

Repository files navigation

An Improved Algorithm for Rare Cell-Type Detection Based on GiniClust3

Files included:

  • mainCode.ipynb - containing the main code of our model (need to change the input file path)

  • 1M_neurons_neuron20k.h5 - the input dataset we used (can be download from https://support.10xgenomics.com/single-cell-gene-expression/datasets/1.3.0/1M_neurons)

  • Final_Paper - final project report

  • Dataset - containing the input dataset we tried

  • Simulate.ipynb - code for generating simulated dataset,

    • nGenes : gene number
    • batchCells: cell number
    • group.prob: proportion of each cell population
  • GiniClust3.ipynb - the code file for implementing GiniClust3 (used for the comparison with our model)

  • desc.py, network.py, SAE.py (desc code download from https://github.com/eleozzr/desc, Make sure they are in the same folder as the mainCode.py file)

  • Simulated_dataset - folder containing all the simulated dataset (with different proportion of rare cell)

    • This folder is too big thus cannot be uploaded, but the simulated dataset inside can be generated by running Simulate.ipynb
  • Result - containing output images and scores.

Prerequisities

How to run the code

Import the dataset you want to run with, and then run the code.

Make sure the mainCode.ipynb, network.py and SAE.py are all in one folder

comment or delete the the code below if you run the code locally

from google.colab import drive
drive.mount('/content/drive')

About

Improved algorithm for detecting rare cell-types in scRNA-seq data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.0%
  • Python 2.0%