relativeRate: relativeRate

View source: R/substitution_rate_correction.R

relativeRateR Documentation

relativeRate

Description

Compute relative rates using input data files and statistical computations.

Usage

relativeRate(
  ksv2out_1_file,
  ksv2out_2_file,
  ksv_between_file,
  KsMax,
  low = 0.025,
  up = 0.975,
  bs = 1000
)

Arguments

ksv2out_1_file

A character string specifying the path to the first input data file.

ksv2out_2_file

A character string specifying the path to the second input data file.

ksv_between_file

A character string specifying the path to the third input data file.

KsMax

A numeric value representing a maximum threshold for Ks values.

low

A numeric value specifying the lower quantile for bootstrapping. Default is 0.025.

up

A numeric value specifying the upper quantile for bootstrapping. Default is 0.975.

bs

An integer specifying the number of bootstrap iterations. Default is 1000.

Value

A list containing computed relative rates and their confidence intervals.


shinyWGD documentation built on April 4, 2025, 2:28 a.m.