clonalOverlap | R Documentation |
This functions allows for the calculation and visualizations of the overlap coefficient, morisita, or jaccard index for clonotypes. The overlap coefficient is calculated using the intersection of clonotypes divided by the length of the smallest component.
clonalOverlap(
Combined,
group.by,
method = c("overlap", "morisita", "jaccard", "raw"),
exportTable = FALSE
)
Combined |
The |
method |
The method to calculate the overlap, either the "overlap" coefficient, "morisita", "jaccard" indices, or "raw" for the base numbers. |
exportTable |
Returns the data frame used for forming the graph |
ggplot of the clonotypic overlap between elements of a list
Combined <- getCombinedDataSet(TCR,Mice.sub2)
clonalOverlap(combined,method = "overlap",exportTable = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.