Skip to content

DeseqStats for a single gene of interest #444

@Marwansha

Description

@Marwansha

Hello

Is there a way to restrict DeseqStats (Wald test) to only one specific gene instead of the entire DeseqDataSet?

I am performing genetic interaction testing across 100,000+ contexts (Gene-SNP-Celltype). For each test, I only need the summary statistics for a single target gene.

I have already run dds.deseq2() on the full dataset, but running DeseqStats(dds, ...).summary() on all genes is computationally prohibitive at this scale. I have tried subsetting the dds object to the gene of interest before calling DeseqStats, but this does not work.

Is there a recommended way to perform the Wald test and results extraction for a single gene to optimize runtime?

i am using (pydeseq2.version) 0.5.4

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions