extractCluster: Extract clusters based on specified scaffolds

View source: R/clustering_synteny.R

extractClusterR Documentation

Extract clusters based on specified scaffolds

Description

This function extracts clusters based on the specified scaffolds for both query and subject species. It filters the data frames containing segment information and atomic anchorpoints to retain only the relevant clusters.

Usage

extractCluster(segs.df, atomic.df, scaf.bycol, scaf.byrow)

Arguments

segs.df

A data frame containing segment information.

atomic.df

A data frame containing atomic anchorpoints.

scaf.bycol

A character vector specifying scaffolds for the query species.

scaf.byrow

A character vector specifying scaffolds for the subject species.

Value

A list containing two data frames: "segs" for segment information and "atomic" for atomic anchorpoints.


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