Skip to content

Commit 0a8cf95

Browse files
committed
update fields
1 parent 74e81ed commit 0a8cf95

4 files changed

Lines changed: 30 additions & 8 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ Data structure:
9898
| `obs["sample"]` | `string` | Sample ID. |
9999
| `obs["donor"]` | `string` | Donor ID. |
100100
| `obs["group"]` | `string` | Biological group of the donor. |
101-
| `obs["is_control"]` | `integer` | Whether the sample the cell came from can be used as a control for batch effect correction. 0: cannot be used as a control. \>= 1: can be used as a control. For cells with \>= 1: cells with the same value come from the same donor. Different values indicate different donors. |
102-
| `obs["split"]` | `integer` | Which split the cell will be used in. |
101+
| `obs["is_control"]` | `integer` | Whether the sample the cell came from can be used as a control for batch effect correction. \* 0: cannot be used as a control. \* \>= 1: can be used as a control. \* For cells with \>= 1: cells with the same value come from the same donor. Different values indicate different donors. |
102+
| `obs["split"]` | `integer` | Which split the cell will be used in. \* 0: control samples \* 1: split 1 (left) \* 2: split 2 (right) . |
103103
| `var["numeric_id"]` | `integer` | Numeric ID associated with each marker. |
104104
| `var["channel"]` | `string` | The channel / detector of the instrument. |
105105
| `var["marker"]` | `string` | (*Optional*) The marker name associated with the channel. |
@@ -174,7 +174,7 @@ Data structure:
174174
|:---|:---|:---|
175175
| `obs["batch"]` | `string` | Batch information. |
176176
| `obs["sample"]` | `string` | Sample ID. |
177-
| `obs["is_control"]` | `integer` | Whether the sample the cell came from can be used as a control for batch effect correction. 0: cannot be used as a control. \>= 1: can be used as a control. For cells with \>= 1: cells with the same value come from the same donor. Different values indicate different donors. |
177+
| `obs["is_control"]` | `integer` | Whether the sample the cell came from can be used as a control for batch effect correction. \* 0: cannot be used as a control. \* \>= 1: can be used as a control. \* For cells with \>= 1: cells with the same value come from the same donor. Different values indicate different donors. |
178178
| `var["numeric_id"]` | `integer` | Numeric ID associated with each marker. |
179179
| `var["channel"]` | `string` | The channel / detector of the instrument. |
180180
| `var["marker"]` | `string` | (*Optional*) The marker name associated with the channel. |
@@ -210,7 +210,7 @@ Format:
210210
<div class="small">
211211

212212
AnnData object
213-
obs: 'cell_type', 'batch', 'sample', 'donor', 'group', 'split'
213+
obs: 'cell_type', 'batch', 'sample', 'donor', 'group', 'is_control', 'split'
214214
var: 'numeric_id', 'channel', 'marker', 'marker_type', 'to_correct'
215215
layers: 'preprocessed'
216216
uns: 'dataset_id', 'dataset_name', 'dataset_url', 'dataset_reference', 'dataset_summary', 'dataset_description', 'dataset_organism', 'parameter_som_xdim', 'parameter_som_ydim', 'parameter_num_clusters'
@@ -228,7 +228,8 @@ Data structure:
228228
| `obs["sample"]` | `string` | Sample ID. |
229229
| `obs["donor"]` | `string` | Donor ID. |
230230
| `obs["group"]` | `string` | Biological group of the donor. |
231-
| `obs["split"]` | `integer` | Which split the cell will be used in. |
231+
| `obs["is_control"]` | `integer` | Whether the sample the cell came from can be used as a control for batch effect correction. \* 0: cannot be used as a control. \* \>= 1: can be used as a control. \* For cells with \>= 1: cells with the same value come from the same donor. Different values indicate different donors. |
232+
| `obs["split"]` | `integer` | Which split the cell will be used in. \* 0: control samples \* 1: split 1 (left) \* 2: split 2 (right) . |
232233
| `var["numeric_id"]` | `integer` | Numeric ID associated with each marker. |
233234
| `var["channel"]` | `string` | The channel / detector of the instrument. |
234235
| `var["marker"]` | `string` | (*Optional*) The marker name associated with the channel. |

src/api/file_censored.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ info:
3434
description: |
3535
Whether the sample the cell came from can be used as a control for batch
3636
effect correction.
37-
0: cannot be used as a control.
38-
>= 1: can be used as a control.
39-
For cells with >= 1: cells with the same value come from the same donor.
37+
38+
* 0: cannot be used as a control.
39+
* >= 1: can be used as a control.
40+
* For cells with >= 1: cells with the same value come from the same donor.
41+
4042
Different values indicate different donors.
4143
required: true
4244
var:

src/api/file_common_dataset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ info:
4545
name: split
4646
description: |
4747
Which split the cell will be used in.
48+
0: control samples
49+
1: split 1 (left)
50+
2: split 2 (right)
4851
required: true
4952
var:
5053
- type: integer

src/api/file_unintegrated.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,26 @@ info:
3838
name: group
3939
description: Biological group of the donor
4040
required: true
41+
- type: integer
42+
name: is_control
43+
description: |
44+
Whether the sample the cell came from can be used as a control for batch
45+
effect correction.
46+
47+
* 0: cannot be used as a control.
48+
* >= 1: can be used as a control.
49+
* For cells with >= 1: cells with the same value come from the same donor.
50+
51+
Different values indicate different donors.
52+
required: true
4153
- type: integer
4254
name: split
4355
description: |
4456
Which split the cell will be used in.
57+
58+
* 0: control samples
59+
* 1: split 1 (left)
60+
* 2: split 2 (right)
4561
required: true
4662
var:
4763
- type: integer

0 commit comments

Comments
 (0)