# load the initial germline set
# \donttest{
data(HVGERM)
germline <- HVGERM[!grepl("^[.]", HVGERM)]
# Hierarchical clustering (default)
asc <- inferAlleleClusters(germline)
# Leiden community detection
asc_leiden <- inferAlleleClusters(germline[1:50],
clustering_method = "leiden",
target_clusters = 10)
## plotting the clusters
plot(asc)
# }
Run the code above in your browser using DataLab