Skip to content

Impossible to transform data if a column is of type Union{Missing, Number} #48

@koalive

Description

@koalive

BioProfling.jl currently returns an AssertionError when doing transformations such as normtransform on columns whose type could include missing values but don't. This is too stringent and should be relaxed to work on datasets on which we already selected non-missing values, e.g.:

using BioProfiling, DataFrames
data = DataFrame([[missing,missing,4,2,1,1],1:6])
xp = Experiment(data)
filter!(xp, MissingFilter())
normtransform!(xp, MissingFilter())

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions