formula for rle is log(cell) - log(median(sample))