View source: R/Af_compare_within_repertoires.R
Af_compare_within_repertoires | R Documentation |
Function to compare trees of clonotypes.
Af_compare_within_repertoires(
input,
min.nodes,
distance.method,
distance.metrics,
clustering.method,
visualization.methods,
plot.label,
text.size,
point.size = 2,
parallel,
num.cores
)
input |
|
min.nodes |
|
distance.method |
|
distance.metrics |
|
clustering.method |
|
visualization.methods |
|
plot.label |
|
text.size |
|
point.size |
|
parallel |
If TRUE, the metric calculations are parallelized (default FALSE) |
num.cores |
Number of cores to be used when parallel = TRUE (Defaults to all available cores - 1) |
list - Returns a distance matrix, clustering, and various plots based on visualization.methods
compare_repertoire <- Af_compare_within_repertoires(input = AntibodyForests::small_af,
min.nodes = 8,
distance.method = "euclidean",
distance.metrics = c("mean.depth", "sackin.index"),
clustering.method = "mediods",
visualization.methods = "PCA")
#Plot the PCA clusters
compare_repertoire$plots$PCA_clusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.