mantlebio.core.analysis.client module#

class mantlebio.core.analysis.client.AnalysisClient(session, storage_client, dataset_client)[source]#

Bases: object

AnalysisClient object for making requests to the Mantle API

create(name, inputs=None)[source]#

Create a new analysis

Parameters:
  • id (str) – Analysis ID

  • name (str) – Analysis Name

  • inputs (optional, dict) – Inputs for the analysis

Returns:

Analysis object

Return type:

Analysis

get(id)[source]#

Load an existing analysis

Parameters:

id (str) – Analysis ID

Returns:

Analysis object

Return type:

Analysis

load(id)[source]#
Return type:

MantleAnalysis

load_analysis(id)[source]#

Load an existing analysis

Parameters:

id (str) – Analysis ID

Returns:

Analysis object

Return type:

Analysis