Giter VIP home page Giter VIP logo

dgm4sca's Introduction

This repo is the final project for CS280: Deep generative model for auto-annotation in single-cell analysis. This project implemented a semi-supervised learning extended generative model for single-cell cell type annotation.

Compared with the SCANVI model, we adopted the idea of WAE. The code structure is mainly inspired by scvi

How to run

python annotationtest.py

para default usage
-e 100 epochs to run
-f 'simualtion_3.loom' filename of dataset
-n 10 labeled cell number
-p 'y' weather to plot the figs
-t 1 times to run the experiment

Dataset

data folder contaion two of our datasets used in the experiments: simulation_3.loom and high_data_loom.loom. The high_data_loom.loom is a dataset of mouse cells from different tissues which we merged by ourselves. The simulation_3.loom is a simulation dataset provided by scvi.

Structure

-annotationtest.py: the script to test annoation performance
-dgm4sca
|--dataset: scripys to load data
|--inference: scripts to classify cell type by posterior inference
|--models: scripts about generative model
-data: folder of data files in .loom format. (simulation_3.loom, high_data_loom.loom)

Ref

Torch version WAE

M1+M2 Model

dgm4sca's People

Contributors

wjie12 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

imahabub

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.