generate_best_reciprocal_hits_matrix: generate_best_reciprocal_hits_matrix

Description Usage Arguments Details Value Examples

View source: R/XGSA.R

Description

This function generates a homology matrix based on the best reciprocal hits method. Note: this can still give not perfect 1-1 mapping if homologs have identical sequence conservation in each direction

Usage

1
generate_best_reciprocal_hits_matrix(hms1, hms2, homology_table)

Arguments

hms1

Homology matrix with homology scores with species 1 as rows

hms2

Homology matrix with homology scores with species 2 as rows

homology_table

Table of homology mapping between two species (species 1 in column 1 and species 2 in column 2)

Details

This function generates a homology matrix based on the best reciprocal hits method. Note: this can still give not perfect 1-1 mapping if homologs have identical sequence conservation in each direction

Value

This function returns a sparse matrix

Examples

1
Not used trivially

VCCRI/XGSA documentation built on March 5, 2021, 10:22 p.m.