An Assay represents a record in the database. An assay contains some high level attributes such as name, status, active, etc. as well as the sub objects Baseline, Window and Summarizer which specify how the Baseline is derived, how the Windows should be created and how the analysis should be conducted.
Each object requires:
- a GraphQL client - in order to fill its missing members dynamically
- an initial data blob - typically from unserialized JSON, contains at
- least the data for required members (typically the object's primary key) and optionally other data members.
Disables the Assay. No further analysis will be conducted until the assay is enabled.
Sets the alert threshold at the specified level. The status in the AssayAnalysis will show if this level is exceeded however currently alerting/notifications are not implemented.
Creates a dataframe for the meta data in the baseline or window excluding the edge information.
- assay_result: The dict of the raw asset result
Creates a dataframe specifically for the edge information in the baseline or window.
- window_or_baseline: The dict from the assay result of either the window or baseline
The AssayAnalysis class helps handle the assay analysis logs from the Plateau logs. These logs are a json document with meta information on the assay and analysis as well as summary information on the baseline and window and information on the comparison between them.
Creates a simple dataframe making it easy to compare a baseline and window.
Creates a simple dataframe with the basic stats data for a baseline.
Creates a simple dataframe to compare the bin/edge information of baseline and window.
Creates a simple dataframe to with the edge/bin data for a baseline.
Helper class primarily to easily create a dataframe from a list of AssayAnalysis objects.
Creates and returns a summary dataframe from the assay results.
Creates and returns a dataframe with all values including inputs and outputs from the assay results.
Creates a basic chart of the scores from dataframe created from assay analysis list
Creates a basic chart of the scores from an AssayAnalysisList
Wraps a list of assays for display in an HTML display-aware environment like Jupyter.