Skip to content

method for missing? #108

Open
Open
@pdimens

Description

@pdimens

Is there a simple(ish?) method to perform the correction but skip missing values, and output the corrected array with missing respecting their original indices (but not used in the calculations)?

Reading that back to myself, it doesn't feel like it's worded too clearly, so maybe an example:

julia> pvals = [0.001, 0.01, missing, 0.03, 0.5];

julia> adjust(pvals, Bonferroni())
4-element Array{Union{Missing,Float64},1}
 0.004
 0.04
missing
 0.12
 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions