clones.shared
compares clones of different samples to find shared clones with identical or similar CDR3 sequences. Criteria for same/similar clones are 1) same CDR3 length, 2) CDR3 identity of a given treshold, 3) same V gene, 4) same J gene (optional). Parallel processing is possible.clones.shared.summary
provides information about the number of shared clones between two or more samples.
clones.shared(clones.tab = NULL, identity = 0.85, useJ = TRUE, dispD = TRUE, dispCDR3aa = FALSE, dispCDR3nt = FALSE, dispFunctionality.list = FALSE, dispFunctionality.ratio = FALSE, dispJunctionFr.list = FALSE, dispJunctionFr.ratio = FALSE, dispTotalSeq = FALSE, nrCores=1)
clones.shared.summary(shared.tab = NULL, clones.tab = NULL)
clones()
has to be combined, via rbind()
. The first column needs to include individual identifiers. Example: data(ClonesAllInd)
clones.shared()
. Either whole data frame or individual column.
clones.shared
is a data frame includingOutput of clones.shared.summary
is a data frame containing all possible groups and the quantity of appearance.
clones.shared
: Criteria for clone groups are 1) same CDR3 length, 2) CDR3 identity of a given treshold, 3) same V gene and 4) same J gene (optional). Same or similar CDR3 sequences has to be shared between at least two samples.
A treshold for CDR3 identity has to be between 0 and 1. A cutoff of 0.85 means CDR3 identity of 85%. For example for a CDR3 length of 15 amino acids 85% identity would mean that at least 11 of 15 positions have to be identical (0.85*15 = 10.75; values are rounded).useJ=T
includes also the criteria of same J genes for clone defintion.
clones.shared.summary
summarizes information about shared clones. If clonestab.individual
is also provided, number of clones, appearing in only one of these individuals is also returned.
clones
## Not run:
# data(clones.allind)
# sharedclones<-clones.shared(clones.tab = clones.allind, identity = 0.85, useJ = TRUE,
# dispD = TRUE, dispCDR3aa = TRUE)
# sharedclones.summary<-clones.shared.summary(shared.tab = sharedclones)
# ## End(Not run)
Run the code above in your browser using DataLab