Skip to content

testnhoods with interaction effect #371

@michaelhojungyoon

Description

@michaelhojungyoon

Hello, I've been trying to run testNhoods() with an interaction term ~condition*drug, but I get the following error:

Error in makeContrasts(contrasts = model.contrasts, levels = x.model) : The levels must by syntactically valid names in R, see help(make.names). Non-valid names: conditionDE:drugBud

I'm assuming the issue is the colon symbol that is generated from the model matrix, but I'm not quite sure how to manipulate the model.contrasts argument to change the interaction term "conditionDE:drugBud" to an appropriate syntax.

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