View source: R/Af_cluster_metrics.R
Af_cluster_metrics | R Documentation |
Function to compare metrics between clusters of clontoypes
Af_cluster_metrics(
input,
clusters,
metrics,
min.nodes,
colors,
text.size,
significance,
parallel,
num.cores
)
input |
|
clusters |
|
metrics |
|
min.nodes |
The minimum number of nodes for a tree to be included in this analysis (this included the germline). This should be the same as for the Af_compare_within_repertoires() functions. |
colors |
|
text.size |
Font size in the plot (default 20). |
significance |
|
parallel |
If TRUE, the metric calculations are parallelized across clonotypes. (default FALSE) |
num.cores |
Number of cores to be used when parallel = TRUE. (Defaults to all available cores - 1) |
list - A list with boxplots per metric
plot <- Af_cluster_metrics(input = AntibodyForests::small_af,
clusters = AntibodyForests::compare_repertoire[["clustering"]],
metrics = "mean.depth",
min.nodes = 8)
plot$mean.depth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.