GithubHelp home page GithubHelp logo

deseq2py's Introduction

DESeq2py

Python wrapper of DESeq2 R package, combined with anndata object for easy access and plotting of the data.

Installation

The best way to get everything running smoothly is to use conda:

conda create -n deseq2py -c conda-forge -c bioconda python=3.8 bioconductor-deseq2 bioconductor-apeglm rpy2 -y
conda activate deseq2py
pip install git+https://github.com/LouisFaure/deseq2py.git

Usage

import scanpy as sc
import deseq2py as deseq
adata_bulk = sc.read("adata_bulk.h5ad")

deseq2.tl.run(adata_bulk,formula="~ condition")
deseq2.tl.vst(adata_bulk)
deseq2.tl.pca(adata_bulk)

deseq2.pl.pca(adata_bulk,color="condition",
              show_ellipses=True)

deseq2.tl.result(adata_bulk,lfc_shrink=True,name="condition_A_vs_B")

deseq2py's People

Contributors

louisfaure avatar serjisa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

serjisa

deseq2py's Issues

bechmark

Hi,
very useful work!
Why do you develop this tool and do you compare it with DEseq2 on some datasets ?

Count matrix to anndata

Hi,

Is it possible to convert a count matrix into an anndata to use deseq2py later? Do I have to run before bulk tools-py?

Thanks!

Victor

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.