Skip to content

Commit

Permalink
fix api
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 17, 2024
1 parent 6e89cca commit ecc35df
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 14 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,15 @@ flowchart LR
file_solution("Solution")
comp_control_method[/"Control method"/]
comp_method[/"Method"/]
comp_metric[/"Metric (embedding)"/]
comp_metric[/"Metric"/]
file_integrated("Integrated Dataset")
file_score("Score")
file_common_dataset---comp_process_dataset
comp_process_dataset-->file_dataset
comp_process_dataset-->file_solution
file_dataset---comp_control_method
file_dataset---comp_method
file_solution---comp_control_method
file_solution---comp_metric
comp_control_method-->file_integrated
comp_method-->file_integrated
Expand Down Expand Up @@ -249,10 +250,11 @@ Arguments:

<div class="small">

| Name | Type | Description |
|:-----------|:-------|:------------------------------------------|
| `--input` | `file` | Unintegrated AnnData HDF5 file. |
| `--output` | `file` | (*Output*) An integrated AnnData dataset. |
| Name | Type | Description |
|:-------------------|:-------|:-----------------------------------------------|
| `--input_dataset` | `file` | Unintegrated AnnData HDF5 file. |
| `--input_solution` | `file` | Uncensored dataset containing the true labels. |
| `--output` | `file` | (*Output*) An integrated AnnData dataset. |

</div>

Expand All @@ -271,9 +273,9 @@ Arguments:

</div>

## Component type: Metric (embedding)
## Component type: Metric

A batch integration embedding metric.
A metric for evaluating batch integration methods.

Arguments:

Expand Down
6 changes: 5 additions & 1 deletion src/api/comp_control_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ info:
description: |
A control method for the batch integration task.
arguments:
- name: --input
- name: --input_dataset
__merge__: file_dataset.yaml
direction: input
required: true
- name: --input_solution
__merge__: file_solution.yaml
direction: input
required: true
- name: --output
direction: output
__merge__: file_integrated.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/api/comp_method.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace: batch_integration/methods
namespace: methods
info:
type: method
type_info:
Expand Down
9 changes: 4 additions & 5 deletions src/api/comp_metric.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
namespace: batch_integration/metrics
namespace: metrics
info:
type: metric
subtype: embedding
type_info:
label: Metric (embedding)
summary: A batch integration embedding metric.
label: Metric
summary: A metric for evaluating batch integration methods.
description: |
A metric for evaluating batch corrected embeddings.
A metric for evaluating batch integration methods.
arguments:
- name: --input_integrated
__merge__: file_integrated.yaml
Expand Down

0 comments on commit ecc35df

Please sign in to comment.