get_homology_table: get_homology_table

Description Usage Arguments Details Value Examples

View source: R/XGSA.R

Description

This function uses information from Ensembl to generate a homology table between two species.

Usage

1
get_homology_table(species1, species2, sequence_identity_reference = 0)

Arguments

species1

Species 1 name, in the form 'hsapiens'

species2

Species 2 name, in the form 'hsapiens'

sequence_identity_reference

Flag of which sequence identity value to retrieve. 0 (default) returns no value); 1 returns the sequence of identity of genes in species 2 compared to species 1; 2 returns the sequence of identity of genes in species 1 compared to species 2.

Details

This function uses information from Ensembl to generate a homology table between two species.

Value

This function return a data frame with 2 or 3 columns, representing the Ensembl gene IDs in species 1 and 2, and the sequence identity score if requested.

Examples

1
2
human_zebrafish_homology_table <- get_homology_table('hsapiens', 'drerio')
head(human_zebrafish_homology_table)

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