Description Usage Arguments Value
Generate a sample of species, weighted by their score
1 2 | generate_sample(taxon_scores, ntax, phy, pd_weighting, min.prob = 0.01,
max.prob = 0.99)
|
taxon_scores |
The vector of scores for taxa |
ntax |
The number of taxa you want returned |
phy |
Phylogeny to prune |
pd_weighting |
How much to weight the pd vs the popularity |
min.prob |
The minimum probability of sampling for a taxon |
max.prob |
The maximum probability of sampling for a taxon |
A list: selected=vector of names of sampled taxa to include, and score=sum of the taxon metrics for these taxa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.