Closed yunguan-wang closed 5 years ago
- Include conditions under which dead cell count estimate is corrected. Refer to lines 152 to 213 in https://github.com/datarail/DrugResponse/blob/1d0fd1898e797b74f611eb61dbd6926ac715bb83/MATLAB/import_columbus/Process_CellCountData2.m
- Leave out converting time units from hours to days as it pertains to a use case we are not considering in this context.
Fixed above issues. I left the time conversion part intact but modified its default behavior to outputting GR_d (hour). Please see now commit.
- Include conditions under which dead cell count estimate is corrected. Refer to lines 152 to 213 in https://github.com/datarail/DrugResponse/blob/1d0fd1898e797b74f611eb61dbd6926ac715bb83/MATLAB/import_columbus/Process_CellCountData2.m
- Leave out converting time units from hours to days as it pertains to a use case we are not considering in this context.
Fixed above issues. I left the time conversion part intact but modified its default behavior to outputting GR_d (hour). Please see now commit.
t_units=day
to this function in order to convert it to days. If in the future we have need of the conversion, there will a better place to implement it.
- Include conditions under which dead cell count estimate is corrected. Refer to lines 152 to 213 in https://github.com/datarail/DrugResponse/blob/1d0fd1898e797b74f611eb61dbd6926ac715bb83/MATLAB/import_columbus/Process_CellCountData2.m
- Leave out converting time units from hours to days as it pertains to a use case we are not considering in this context.
Fixed above issues. I left the time conversion part intact but modified its default behavior to outputting GR_d (hour). Please see now commit.
- The condition described in lines 199-213 are still missing from the implementation.
- The purpose of the code is to compute gr_static and toxic. Leave out the time conversion as it is irrelevant to that main purpose. We should keep code as simple as required. I don't see how anyone would want to provide a table with time in hours and then pass an argument
t_units=day
to this function in order to convert it to days. If in the future we have need of the conversion, there will a better place to implement it.
For line 199~213, I will contact Marc for clarification for the statement below and implement the changes.
Dratio_gr = max(t_c.Deadcount(Eqidx) - t_c.Day0DeadCnt(Eqidx),1)* (1./b + diag(( repmat((-1)*(a-b),1,35).^repmat(1:35,length(a),1) ) * (repmat(b,1,35).*repmat(1:35,length(b),1))'))
As for now, it does not affect the output and will only raise an issue when the Ctrl cell count equals the T0 cell count exactly.
For the time conversion, I can remove it from the code once everything else is working but not before since it is essential to benchmark my code against the original output file from Marc's Matlab code.
Superseded by #40.