generate_ksd {shinyWGD} | R Documentation |
Generate Kernel Density Estimates (KDE) for Ks Distribution
Description
This function generates Kernel Density Estimates (KDE) for the Ks (synonymous substitution rates) distribution.
Usage
generate_ksd(ks_df, bin_width = 0.01, maxK = 5)
Arguments
ks_df |
A data frame containing Ks values. |
bin_width |
The width of each bin for KDE calculation. |
maxK |
The maximum Ks value for the distribution. |
Value
A list containing the following components:
-
Ks
: A numeric vector representing the KDE values. -
bin_width
: The width of each bin used for KDE calculation. -
maxK
: The maximum Ks value for the distribution.
[Package shinyWGD version 1.0.0 Index]