Skip to content

Please put a warning when covariates are present but not used #6

@ne1s0n

Description

@ne1s0n

The runSingleTraitGwas() function ignores covariates present in the gData object if the "covar" argument is NULL (default).
This is counterintuitive and at this point I had to correct three colleagues that thought the covariates were being used.

The best interface choice imho should be to use by default all the covariates present in the gData. If you want to keep the current behavior at least put a warning (or a message) specifying that covariates are present but not used, and to use the "covar" argument to select what to include in the model.

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