omicverse.micro.Beta.braycurtis

omicverse.micro.Beta.braycurtis#

Beta.braycurtis(rarefy=True)[source]#

Bray-Curtis dissimilarity matrix (samples × samples).

Convenience wrapper for self.run('braycurtis', rarefy=...). Bray-Curtis is the de-facto default beta metric for 16S — it weights species by abundance and ranges 0 (identical) to 1 (no shared taxa). When rarefy=True (the default), the underlying count matrix is rarefied to a common depth before the calculation; when False, raw counts are used (sensible only after CLR or proportion transforms).

Parameters:

rarefy (bool (default: True))