Description Usage Arguments Details Value Examples
Output and plot the spectrum (Eigenvalues in descending order) found at a particular node in a SCCA tree.
1 | scca_plot_spectrum(scca, node_id, plot = TRUE)
|
scca |
The output of |
node_id |
The node number (numeric) in the output tree |
plot |
If TRUE (default) the spectrum will be plotted. If FALSE only the spectrum data is returned. |
The node number can be found by printing the tree with scca_print(scca)
.
The function returns a tibble containing the spectrum data.
1 2 3 4 5 6 | ## Not run:
s <- scca_compute(t(carnivora))
scca_print(scca = s, 'k', 'n_labs')
scca_plot_spectrum(scca = s, node_id = '3')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.