I was toying with the RegionHeatmap function, but ultimately had to copy and modify it to produce my own version. Based on that, I recommend adding arguments for ncol, so the user can specify the number of columns the individual facets are arranged in. Also, rearranging the facets by idents, as they keep getting reshuffled (1,2,3,10 ->1,10,2,3):
I also kept getting "Error in colors_all[[assay[[i]]]] : subscript out of bounds" when I tried to supply a single custom cols and a singular assay ("peaks"), so I had to overwrite with
Thanks for the useful tools, as always.
I was toying with the RegionHeatmap function, but ultimately had to copy and modify it to produce my own version. Based on that, I recommend adding arguments for ncol, so the user can specify the number of columns the individual facets are arranged in. Also, rearranging the facets by idents, as they keep getting reshuffled (1,2,3,10 ->1,10,2,3):
I also kept getting "Error in colors_all[[assay[[i]]]] : subscript out of bounds" when I tried to supply a single custom cols and a singular assay ("peaks"), so I had to overwrite with