plotomics
    Preparing search index...

    Function legendCandidates

    • Every label a legend of labels, and of an NA entry when missing, can show at some height: the first max labels, the widest "+N more" row and "NA". A plot that checks these with legendLabelsFit, not the rows of its present height, does not lose its legend as it grows taller.

      Parameters

      • labels: readonly string[]
      • missing: boolean
      • max: number = Number.POSITIVE_INFINITY

      Returns string[]