Description Usage Arguments Value Examples
View source: R/seuratFunctions.R
Use a specific clonotype sequence to highlight on top of the dimensional reduction in seurat object.
1 2 3 4 5 | highlightClonotypes(
sc,
cloneCall = c("gene", "nt", "aa", "gene+nt"),
sequence = NULL
)
|
sc |
The seurat object to attach |
cloneCall |
How to call the clonotype - CDR3 gene (gene), CDR3 nucleotide (nt), CDR3 amino acid (aa), or CDR3 gene+nucleotide (gene+nt). |
sequence |
The specifc sequence or sequence to highlight |
DimPlot with highlighted clonotypes
1 2 3 4 5 6 7 8 9 10 11 12 13 | #' #Getting the combined contigs
combined <- combineTCR(contig_list, rep(c("PX", "PY", "PZ"), each=2),
rep(c("P", "T"), 3), cells ="T-AB")
#Getting a sample of a Seurat object
screp_example <- get(data("screp_example"))
#Using combineExpresion()
screp_example <- combineExpression(combined, screp_example )
#Using highlightClonotype()
screp_example <- highlightClonotypes(screp_example, cloneCall= "aa",
sequence = c("CAVNGGSQGNLIF_CSAEREDTDTQYF"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.