generate_ksd | R Documentation |
This function generates Kernel Density Estimates (KDE) for the Ks (synonymous substitution rates) distribution.
generate_ksd(ks_df, bin_width = 0.01, maxK = 5)
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.