generateKsDistribution {shinyWGD}R Documentation

Generate the Ks Distribution

Description

This function generates a Ks (synonymous substitution rates) distribution from raw Ks values.

Usage

generateKsDistribution(ksraw, speciesName = NULL, maxK = 5)

Arguments

ksraw

A numeric vector containing raw Ks values.

speciesName

(Optional) A character string specifying the species name associated with the Ks values.

maxK

A numeric value indicating the maximum Ks value to consider in the distribution.

Value

A numeric vector containing the binned Ks distribution.


[Package shinyWGD version 1.0.0 Index]