R/vis.R
vis.clonal_family.RdVisualise clonal family tree: wrapper for calling on the entire repClonalFamily output
# S3 method for clonal_family
vis(.data, ...)Clonal families from 1 or multiple samples: repClonalFamily output.
Not used here.
A ggraph object.
data(bcrdata)
bcr_data <- bcrdata$data
clonal_family <- bcr_data %>%
seqCluster(seqDist(bcr_data), .fixed_threshold = 3) %>%
repGermline(.threads = 1) %>%
repAlignLineage(.min_lineage_sequences = 2, .align_threads = 2, .nofail = TRUE) %>%
repClonalFamily(.threads = 1, .nofail = TRUE) %>%
vis()
#> repAlignLineage requires Clustal W app to be installed!
#> Please download it from here: http://www.clustal.org/download/current/
#> or install it with your system package manager (such as apt or dnf).