whitews / FlowUtils

FlowUtils is a Python package containing various utility functions related to flow cytometry analysis, primarily focused on compensation and transformation tasks commonly used within the flow community.
https://flowutils.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

compensate function should return all columns from input data #1

Closed whitews closed 9 years ago

whitews commented 9 years ago

Currently, the compensate function takes a numpy data array as an input along with the list of column indices that will be compensated. However, it only returns the compensated columns, requiring the caller to re-assemble the original data array with the compensated columns. This is a bit awkward and the function should return the whole data array.