get_segments: Get Segmented Data from Anchorpoints and Ks Values

View source: R/clustering_synteny.R

get_segmentsR Documentation

Get Segmented Data from Anchorpoints and Ks Values

Description

This function extracts segmented data from anchorpoints and Ks (synonymous substitution rate) values, based on specified criteria, and writes the results to output files.

Usage

get_segments(
  genes_file,
  anchors_ks_file,
  multiplicons_file,
  segmented_file,
  segmented_anchorpoints_file,
  num_anchors = 10
)

Arguments

genes_file

A character string specifying the file path for genes information created by i-ADHoRe.

anchors_ks_file

A character string specifying the file path for anchorpoints Ks values data.

multiplicons_file

A character string specifying the file path for multiplicons information created by i-ADHoRe.

segmented_file

A character string specifying the output file path for segmented data.

segmented_anchorpoints_file

A character string specifying the output file path for segmented anchorpoints.

num_anchors

An integer specifying the minimum number of anchorpoints required.

Value

NULL (output files are generated with the specified information).


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