obtain_mean_ks_for_each_multiplicon {shinyWGD}R Documentation

Compute the Mean of Ks values for Each Multiplicon

Description

This function takes as input a multiplicon file, an anchorpoint file, Ks values, and other relevant information. It calculates the mean of Ks values for each multiplicon and associates them with the corresponding data.

Usage

obtain_mean_ks_for_each_multiplicon(
  multiplicon_file,
  anchorpoint_file,
  species1,
  ks_file,
  outfile,
  anchorpointout_file,
  species2 = NULL
)

Arguments

multiplicon_file

A file containing multiplicon information.

anchorpoint_file

A file containing anchorpoints information with columns like geneX, geneY, and other relevant data.

species1

The name of the first species.

ks_file

A file containing Ks values.

outfile

The output file where the results will be saved.

anchorpointout_file

The output file for anchorpoint data with Ks values.

species2

(Optional) The name of the second species. Specify this parameter and ks_file if working with two species.

Value

None. The function saves the results to the specified outfile and anchorpointout_file.


[Package shinyWGD version 1.0.0 Index]