View source: R/highlightClones.R
highlightClones | R Documentation |
Use a specific clonal sequence to highlight on top of the dimensional reduction in single-cell object.
highlightClones(
sc.data,
cloneCall = c("gene", "nt", "aa", "strict"),
sequence = NULL
)
sc.data |
The single-cell object to attach after
|
cloneCall |
How to call the clone - VDJC gene (gene), CDR3 nucleotide (nt), CDR3 amino acid (aa), VDJC gene + CDR3 nucleotide (strict) or a custom variable in the data. |
sequence |
The specific sequence or sequence to highlight |
Single-cell object object with new meta data column for indicated clones
#Getting the combined contigs
combined <- combineTCR(contig_list,
samples = c("P17B", "P17L", "P18B", "P18L",
"P19B","P19L", "P20B", "P20L"))
#Getting a sample of a Seurat object
scRep_example <- get(data("scRep_example"))
#Using combineExpresion()
scRep_example <- combineExpression(combined,
scRep_example)
#Using highlightClones()
scRep_example <- highlightClones(scRep_example,
cloneCall= "aa",
sequence = c("CVVSDNTGGFKTIF_CASSVRRERANTGELFF"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.