UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

17 lines (16 loc) 935 B
import type { ClusterReport } from './clusterer'; import type { FeatureSelection } from '../../features/feature'; /** * Post process the collections in a given folder, reducing them in a memory preserving way. * * @param filepath - Path to the root file of the data collection like `statistics-out/top-2023-01-01-00-00-00/` * @param features - Collection of features to post process, expects corresponding folders to exist * * @returns non-aggregated reports for each sub-key of each feature */ export declare function postProcessFeatureFolder(filepath: string, features: FeatureSelection): ClusterReport[]; /** * Prints the report to the console, but limits the output to the `limit` entries with the highest counts. * The names of these entries (like `->`) are returned, so they can be used to filter the following histograms. */ export declare function printClusterReport(report: ClusterReport, limit?: number): string[];