Skip to content

Euclidean distance and CLR transformation #63

Discussion options

You must be logged in to vote

Hello Miles,

Thank you for your interest in MicrobiomeStat and for bringing up this important question about using Euclidean distance with CLR transformation in the generate_beta_trend_test_long function. I appreciate you sharing this with the community, as it will likely benefit other users as well.

While Euclidean distance isn't directly available as a default option in generate_beta_trend_test_long, we can implement it using a custom approach. Here's a solution that allows you to use Euclidean distance on CLR-transformed data within the MicrobiomeStat framework:

  1. First, convert your phyloseq object to a MicrobiomeStat data object:
coral_data.obj <- mStat_convert_phyloseq_to_data_obj(p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MilesMatthews
Comment options

Answer selected by MilesMatthews
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants