Generate dendrogram

Hello everyone,

I just started my research to analyze the micrombiome of wild animals.

Now I’d like to generate dendrogram of microbiome to compare host and microbiome phylogeny.
Can I do it using Qiime2 or R?(That function is called beta-rarefaction?)

Kinds regards,