Skip to content

Commit

Permalink
Add quietVDJgenes to vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
ncborcherding committed Jan 26, 2025
1 parent 87a880f commit f8cad62
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
14 changes: 13 additions & 1 deletion vignettes/articles/Processing.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ suppressMessages(library(scRepertoire))
data("contig_list")
combined.TCR <- combineTCR(contig_list,
samples = c("P17B", "P17L", "P18B", "P18L",
"P19B","P19L", "P20B", "P20L"))
"P19B","P19L", "P20B", "P20L"))
```

## addVariable
Expand Down Expand Up @@ -103,3 +103,15 @@ exportClones(combined,
file.name = "clones.csv"
```

## quietVDJgenes

The ```quietVDJgenes()``` function removes both TCR and BCR genes from the variable features of a Seurat object.

* **sc** A single-cell object or a character vector of variable genes.
* **assay** The assay slot within the Seurat object to use. If NULL, it defaults to the default assay.

```{r, eval = FALSE, tidy = FALSE}
screp_example <- quietVDJgenes(screp_example)
```

In addition to ```quietVDJgenes()```, there is also T and B cell specific functions ```quietTCRgene()``` and ```quietBCRgenes()``` that will remove the respective lineage-specific receptor genes from the variable gene list.
15 changes: 14 additions & 1 deletion vignettes/vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,20 @@ exportClones(combined,
dir = "~/Documents/MyExperiment/Sample1/"
file.name = "clones.csv"
```


## quietVDJgenes

The ```quietVDJgenes()``` function removes both TCR and BCR genes from the variable features of a Seurat object.

* **sc** A single-cell object or a character vector of variable genes.
* **assay** The assay slot within the Seurat object to use. If NULL, it defaults to the default assay.

```{r, eval = FALSE, tidy = FALSE}
screp_example <- quietVDJgenes(screp_example)
```

In addition to ```quietVDJgenes()```, there is also T and B cell specific functions ```quietTCRgene()``` and ```quietBCRgenes()``` that will remove the respective lineage-specific receptor genes from the variable gene list.

***

# Basic Clonal Visualizations
Expand Down

0 comments on commit f8cad62

Please sign in to comment.