Description Usage Arguments Value Examples
Cluster individuals and sequences in a coverage table.
1 2 | coverage_clustering(data, min.coverage = 0, max.coverage = 150,
distance.method = "euclidean", clustering.method = "ward.D")
|
data |
A table of coverage obtained with the |
min.coverage |
Minimum coverage value to consider a sequence present in an individual: coverage lower than this value will be set to 0 (default 0). |
max.coverage |
Maximum coverage allowed in an individual: coverage higher than this value will be set to this value (default 100). |
distance.method |
Method to use to compute the distance matrix.
Possible values: "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". See |
clustering.method |
Method to use in the clustering.
Possible values: "ward.D", "ward.D2", "single", "complete", "average" (= UPGMA), "mcquitty" (= WPGMA), "median" (= WPGMC) or "centroid" (= UPGMC).
See |
A list with the following elements:
data |
A data frame of coverage with individuals and sequences ordered based on the clustering results |
individuals |
Individuals clustering results |
sequences |
Sequences clustering results |
distribution |
Distribution of coverage values |
1 2 3 | clustering_data <- coverage_clustering(data,
min.coverage = 0, max.coverage = 100,
distance.method = "binary", clustering.method = "complete")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.