Core#
This module provides a high-level interface for working with metric dataframes, e.g., manipulating, visualizing and saving a metric dataframe.
Base Components#
Core objects and classes that define the seqme evaluation and metric API.
Compute a set of metrics for multiple sequence groups. |
|
Caches model-generated feature representations of sequences. |
|
Abstract base class for defining a metric. |
|
Data structure to store a metric result. |
Data Manipulation#
Utility functions to combine, filter, and reorganize metric dataframes.
Combine multiple metric dataframes into a single metric dataframe. |
|
Calculate the non-dominated rank of each entry using one or more metrics. |
|
Extract the non-dominated rows using one or more metrics. |
|
Extract top-k rows of the metric dataframe based on a metrics values. |
|
Sort the metric dataframe by a metrics values. |
|
Strip deviations from metrics in the metric dataframe. |
|
Rename one or more metrics in the metric dataframe. |
Visualization#
Functions for visual exploration and presentation of metric dataframes.
Display a metric dataframe as a styled table. |
|
Plot a bar chart for a given metric with optional error bars. |
|
Plot a scatter plot for two metrics with optional error rectangles or bars. |
|
Plot a parallel coordinates plot where each coordinate is a metric. |
|
Plot a series for a given metric across multiple iterations/steps with optional error bars. |
|
Export a metric dataframe to a LaTeX table. |
Input / Output#
Functions for serializing and loading sequences, cache and metric dataframes.
Serialize an object and write it to a pickle file. |
|
Load and return an object from a pickle file. |
|
Write sequences to a FASTA file. |
|
Retrieve sequences from a FASTA file. |