This patch deletes some leftover artifacts from get_nz_median (such as the documentation), fixes the usage of get_nz_median2 in get_residual_var since it also needs to support subsetting genes, and adds two unit tests to ensure that get_nz_median2 is functioning correctly.
This should keep the fast performance of the implementation for get_nz_median2 while also allowing gene subsetting.
This patch deletes some leftover artifacts from
get_nz_median
(such as the documentation), fixes the usage ofget_nz_median2
inget_residual_var
since it also needs to support subsetting genes, and adds two unit tests to ensure thatget_nz_median2
is functioning correctly.This should keep the fast performance of the implementation for
get_nz_median2
while also allowing gene subsetting.Co-authored-by: @ScreachingFire