wallaroo.assay
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.
Base constructor.
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.
Get the assay information for the given assay_id
Parameters
- client: Client object
- assay_id: int Assay Identifier
- workspace_id: Optiona[int] Workspace Identifier
- workspace_name: Optional[str] Workspace Name
Returns
pd.DataFrame
Disables the Assay. No further analysis will be conducted until the assay is enabled.
Creates a dataframe for the meta data in the baseline or window excluding the edge information.
Parameters
- assay_result: The dict of the raw asset result
Creates a dataframe specifically for the edge information in the baseline or window.
Parameters
- 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.
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
Wraps a list of assays for display in an HTML display-aware environment like Jupyter.
Inherited Members
- builtins.list
- list
- clear
- copy
- append
- insert
- extend
- pop
- remove
- index
- count
- reverse
- sort