obtain_coordiantes_for_anchorpoints: Obtain coordinates for anchorpoints from GFF files

View source: R/obtain_coordinates_for_anchorpoints.R

obtain_coordiantes_for_anchorpointsR Documentation

Obtain coordinates for anchorpoints from GFF files

Description

This function takes a file containing anchorpoints, GFF files for two species, and species names, and retrieves the coordinates of anchorpoints and associated genes from the GFF files.

Usage

obtain_coordiantes_for_anchorpoints(
  anchorpoints,
  species1,
  gff_file1,
  out_file,
  species2 = NULL,
  gff_file2 = NULL
)

Arguments

anchorpoints

A file containing anchorpoints information with columns like gene_x, gene_y, and other relevant data.

species1

The name of the first species.

gff_file1

The path to the GFF file for the first species.

out_file

The output file where the results will be saved.

species2

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

gff_file2

(Optional) The path to the GFF file for the second species.

Value

None. The function saves the results to the specified out_file.


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