Showing 2 of 6 files from the diff.

@@ -79,15 +79,28 @@
Loading
79 79
"""
80 80
    braycurtis(abt::AbstractAbundanceTable)
81 81
82 -
Retruns a pairwise Bray-Curtis dissimilarity matrix. 
82 +
Returns a pairwise Bray-Curtis dissimilarity matrix.
83 83
"""
84 84
braycurtis(abt::AbstractAbundanceTable) = pairwise(BrayCurtis(), collect(abundances(abt)), dims=2)
85 85
86 +
"""
87 +
    jaccard(abt::AbstractAbundanceTable)
88 +
89 +
Returns a pairwise Jaccard distance matrix.
90 +
"""
91 +
jaccard(abt::AbstractAbundanceTable) = pairwise(Jaccard(), collect(abundances(abt)), dims=2)
92 +
93 +
"""
94 +
    hellinger(abt::AbstractAbundanceTable)
95 +
96 +
Returns a pairwise Hellinger distance matrix.
97 +
"""
98 +
hellinger(abt::AbstractAbundanceTable) = pairwise(HellingerDist(), collect(abundances(abt)), dims=2)
86 99
87 100
"""
88 101
    pcoa(abt::AbstractAbundanceTable, f=braycurtis) 
89 102
90 -
Returns eigenvectors from fiting `MDS` to a distance metric generated by `f`,
103 +
Returns eigenvectors from fitting `MDS` to a distance metric generated by `f`,
91 104
by default `braycurtis`.
92 105
"""
93 -
pcoa(abt::AbstractAbundanceTable, f=braycurtis) = fit(MDS, f(abt), distances = true)

@@ -53,6 +53,8 @@
Loading
53 53
       present,
54 54
       prevalence,
55 55
       braycurtis,
56 +
       jaccard,
57 +
       hellinger,
56 58
       pcoa
57 59
       
58 60
using Statistics
Files Coverage
src 85.81%
Project Totals (4 files) 85.81%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading