menchelab / BioProfiling.jl

A flexible Julia toolkit for high-dimensional cellular profiles
MIT License
13 stars 1 forks source link

AbstractReducer copy constructors #12

Closed koalive closed 4 years ago

koalive commented 4 years ago

It would be convenient to have a way to create a Filter or Selector from another object of the same type, with the option to add or overwrite some of the parameters (e.g. take the negation of an existing Filter once https://github.com/menchelab/RMP.jl/issues/5#issue-672054273 is implemented).

koalive commented 4 years ago

This is not really necessary as one may simply use a deepcopy and modify the parameters accordingly (see for instance the negation operators implemented in 861e471).