Skip to content

Commit 50a1e45

Browse files
committed
fix: metadata, remove unused parameter
1 parent b3cef06 commit 50a1e45

3 files changed

Lines changed: 22 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ jobs:
2727
- run: pip install mkdocs-material mkquartodocs mkdocs-static-i18n
2828

2929
- uses: r-lib/actions/setup-r@v2
30+
with:
31+
use-public-rspm: true
3032

3133
- name: Install immunarch and immundata
3234
uses: r-lib/actions/setup-r-dependencies@v2
3335
with:
34-
use-public-rspm: true
3536
upgrade: 'TRUE'
3637
packages: |
3738
any::Seurat

docs/source/howto/read_airr_bulk.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,28 @@ Use this for bulk AIRR Rearrangement TSVs (one row per rearrangement/receptor).
2424
schema <- make_receptor_schema(features = c("cdr3_aa", "v_call"))
2525

2626
idata <- read_repertoires(
27-
path = "/path/to/bulk_airr/*.tsv",
28-
schema = schema,
29-
count_col = "umi_count",
27+
path = "/path/to/bulk_airr/*.tsv",
28+
schema = schema,
29+
count_col = "umi_count",
3030
preprocess = make_default_preprocessing("airr")
3131
)
3232

3333
# If you have metadata, you can use it:
3434
idata <- read_repertoires(
35-
path = "/path/to/bulk_airr/*.tsv",
36-
metadata = your_metadata_table,
37-
schema = schema,
38-
count_col = "umi_count",
35+
path = "/path/to/bulk_airr/*.tsv",
36+
metadata = your_metadata_table,
37+
schema = schema,
38+
count_col = "umi_count",
3939
preprocess = make_default_preprocessing("airr")
4040
)
4141

4242
# If you already know the repertoire schema:
4343
idata <- read_repertoires(
44-
path = "/path/to/bulk_airr/*.tsv",
45-
metadata = your_metadata_table,
46-
schema = schema,
47-
count_col = "umi_count",
48-
preprocess = make_default_preprocessing("airr"),
44+
path = "/path/to/bulk_airr/*.tsv",
45+
metadata = your_metadata_table,
46+
schema = schema,
47+
count_col = "umi_count",
48+
preprocess = make_default_preprocessing("airr"),
4949
repertoire_schema = c("Patient", "Cluster", "Response")
5050
)
5151
```

docs/source/howto/read_airr_sc.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Use this when your single-cell data export is AIRR-C and includes cell barcodes
3939
idata <- read_repertoires(
4040
path = "/path/to/sc_airr/*.tsv",
4141
schema = schema,
42-
metadata = your_metadata_table,
42+
metadata = your_metadata_table,
4343
barcode_col = "cell_id",
4444
locus_col = "locus",
4545
umi_col = "umi_count",
@@ -48,13 +48,13 @@ Use this when your single-cell data export is AIRR-C and includes cell barcodes
4848

4949
# If you already know the repertoire schema:
5050
idata <- read_repertoires(
51-
path = "/path/to/sc_airr/*.tsv",
52-
schema = schema,
53-
metadata = your_metadata_table,
54-
barcode_col = "cell_id",
55-
locus_col = "locus",
56-
umi_col = "umi_count",
57-
preprocess = make_default_preprocessing("airr"),
51+
path = "/path/to/sc_airr/*.tsv",
52+
schema = schema,
53+
metadata = your_metadata_table,
54+
barcode_col = "cell_id",
55+
locus_col = "locus",
56+
umi_col = "umi_count",
57+
preprocess = make_default_preprocessing("airr"),
5858
repertoire_schema = c("Patient", "Cluster", "Response")
5959
)
6060
```

0 commit comments

Comments
 (0)