Currently row_idx and col_idx are stored within CytoFrame class and it seems to be incorrect design since we can't do the efficient subsetting without impacting the original object.
The solution is to detach these idx and have a separate proxy class CytoFrameView to store them along with the shared_ptr of CytoFrame
Currently
row_idx
andcol_idx
are stored withinCytoFrame
class and it seems to be incorrect design since we can't do the efficient subsetting without impacting the original object. The solution is to detach these idx and have a separate proxy classCytoFrameView
to store them along with theshared_ptr
ofCytoFrame