HierDstrp: Formating the hierarchial diversity data structure for...

View source: R/HierDstr.R

HierDstrpR Documentation

Formating the hierarchial diversity data structure for "HierDgenlind" function" used for plotting

Description

This function is expecially used for self-defined hierarchical structure. The result is used to feed into "HierDplot"" for visualizing the hierarchy of the diversity.

Usage

HierDstrp(x)

Arguments

x

Object produced from "HierDgenlind".

Details

Formatting the data produced from "HierDgenlind" and then used for plotting the hierarchy of diversity.

Value

A data frame used for "HierDplot".

Author(s)

qinxinghu@gmail.com

Examples

#not run
#a=HierDstrp(HiereHGDPq0)
#HierDplot(a,layout = 'circlepack')+ scale_fill_distiller(palette = "RdPu")

xinghuq/HierDmap documentation built on July 2, 2023, 10:46 a.m.