repOverlap(.data, .method = c("exact", "hamm", "lev", "jaccard", "morisita",
"tversky", "overlap", "horn"), .seq = c("nuc", "aa"),
.quant = c("read.count", "umi.count", "read.prop", "umi.prop"),
.vgene = F, .norm = T, .a = 0.5, .b = 0.5, .do.unique = T,
.verbose = T)Parameter .method can have one of the following value each corresponding to the specific method:
- "exact" for the shared number of clonotypes (basic function intersectClonesets(..., .type = "..e")).
- "hamm" for the number of similar clonotypes by the Hamming distance (basic function intersectClonesets(..., .type = "..h")).
- "lev" for the number of similar clonotypes by the Levenshtein distance (basic function intersectClonesets(..., .type = "..l")).
- "jaccard" for the Jaccard index (basic function jaccard.index).
- "morisita" for the Morisita's overlap index (basic function morisita.index).
- "tversky" for the Tversky index (basic function tversky.index).
- "overlap" for the overlap coefficient (basic function overlap.coef).
- "horn" for the Horn's index (basic function horn.index).
data(twb)
repOverlap(twb, "exact", .seq = "nuc", .vgene = F)
repOverlap(twb, "morisita", .seq = "aa", .vgene = T, .quant = "umi.count")Run the code above in your browser using DataLab