View source: R/iucnn_prepare_phy.R
iucnn_prepare_phy | R Documentation |
Extract Phylogenetic Eigenvectors to represent the phylogenetic relationship in a matrix format for use as NN features.
iucnn_prepare_phy(phy, variance_fraction = 0.8, numeigen = NULL)
phy |
phylogenetic te in phylo format |
variance_fraction |
select number of Eigenvalues that cumulative explain a specified fraction of variance |
numeigen |
select the number eigenvalues |
a matrix of phylogenetic Eigenvectors
Other Feature preparation:
iucnn_bias_features()
,
iucnn_biome_features()
,
iucnn_climate_features()
,
iucnn_cnn_features()
,
iucnn_footprint_features()
,
iucnn_geography_features()
,
iucnn_phylogenetic_features()
,
iucnn_prepare_features()
## Not run:
library(ape)
tree <- rphylo(n = 10, birth=0.1, death=0)
iucnn_prepare_phy(phy = tree)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.