Base Function: https://github.com/SaskiaFreytag/schex/blob/master/R/plot_hexbin_density.R
Goal: Incorporate and simplify
Incorporate: Make the function work with SCUBA so that we can input different object types (Seurat, AnnData, and SCE instead of just SCE).
Simplify: Comment code and take out anything that is no longer necessary. Why does everything have a helper function? Replace extracthex with running hex everything, but with the check on whether or not the hex has already been calculated.
Base Function: https://github.com/SaskiaFreytag/schex/blob/master/R/plot_hexbin_density.R
Goal: Incorporate and simplify
Incorporate: Make the function work with SCUBA so that we can input different object types (Seurat, AnnData, and SCE instead of just SCE).
Simplify: Comment code and take out anything that is no longer necessary. Why does everything have a helper function? Replace extracthex with running hex everything, but with the check on whether or not the hex has already been calculated.