Skip to content

Feature request: test for continuous variables and create design matrix from formula #309

@MaximilianNuber

Description

@MaximilianNuber

Dear all,
thank you for the great package, it´s a staple in my workflows.

Recently, I had the task to analyze continuous covariates in my RNA-seq data. I know continuous variables can be included in the model, but I would like to estimate the p-values for the logfoldchanges, and the DESeqStats class takes only a contrast, e.g. from a categorical factor.
Estimating continuous variables would be amazing.
(I did check and test if it´s possible, but could not find anything. Please correct me if I am wrong.)

A minor feature request: Add the option to create the design from a mode formula (patsy-style) in DESeqDataSet. If I can set the reference level of several categorical factors in my data and then create the design matrix from a formula (in comparison to setting the ref_level of only one design factor), I could fit a model once and then extract DESeqStats for several variables.

Thank you for any help and best regards,
Max

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