plotomics
    Preparing search index...

    Function poolBlocks

    • Mean-pool a row-major nrows x ncols matrix into the given row and column blocks, reading the rows and columns in rowOrder and colOrder when given, the order they are drawn in. Each block is the mean of its finite cells, and NaN (missing) when it has none: a missing cell shows only when every cell of its block is missing. A lone outlier row still shows, fainter the more rows share its block, and noise shows as its average, which is what one pixel can show of many cells.

      Parameters

      • values: ArrayLike<number | null>
      • nrows: number
      • ncols: number
      • rows: Blocks
      • cols: Blocks
      • OptionalrowOrder: ArrayLike<number>
      • OptionalcolOrder: ArrayLike<number>

      Returns Float32Array