Genotype API Documentation - v0.1.0
    Preparing search index...

    Function calculateQualityStats

    • Calculate comprehensive quality statistics from numeric scores

      Parameters

      • scores: number[]

        Array of numeric quality scores

      Returns QualityStats

      Statistical summary including mean, median, quartiles

      const stats = calculateQualityStats([30, 35, 40, 35, 30]);
      console.log(`Mean quality: ${stats.mean.toFixed(1)}`);
      console.log(`Median quality: ${stats.median}`);