pycytominer
pycytominer copied to clipboard
MODZ drops replicate groups containing missing values
Running consensus(operation="modz")
will silently drop groups (as specified in the argument replicate_columns
) if one of the groups contains NA
in one of the replicate_columns
.
The correct behavior would be to consider NA as a valid group member, or, at the very least, warn the user that MODZ is invalid for groups containing missing values.