Skip to content

plot_ma function throws error for wald test results #233

@Rhinogradentia

Description

@Rhinogradentia

Hello,

I get an error when using plot_ma() with a wald-test object.
The error message is (I've translated it from german if it is not completely correct):
Error in FUN(X[[i]], ...) : Object 'mean_obs' not found

After assuring that I really gave a wald-test object as a parameter to the function I dug into the source code of the function and found that on line 664 of the plots.R sleuth_results() is called without pval_aggregate=FALSE. I assume the default value is TRUE. The function then returns a result set without the columns 'mean_obs' and 'b'. This seems to be the source of the error message. After manually doing the steps, but with pval_aggregate=FALSE it seems to work just fine.

best,
Nadine

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