get.symbol.from.homologID: Get gene symbol from homologID

Description Usage Arguments Value Examples

View source: R/get.symbol.from.homologID.r

Description

Most outputs of this package are in the format of homolog IDs. To be useful they need to be converted to gene symbols. This functon does that.

Usage

1
2
3
4
5
6
7
get.symbol.from.homologID(
  homoIDs,
  species1,
  species2,
  ortholog_data,
  symbol_species
)

Arguments

homoIDs

The list of homolog IDs to be converted to gene symbols

species1

String with the name of the first species, i.e. "mouse"

species2

String with the name of the second species, i.e. "human"

ortholog_data

Output of analyse.orthology() function

symbol_species

The name of the species for which gene symbols should be returned. I.e. "mouse"

Value

List. The gene symbols equivilenet to homolog IDs in homoIDs

Examples

1
2
3
4
allHomologs = load.homologs()
ortholog_data = analyse.orthology("human","mouse",allHomologs)
homoIDs_bg     = ortholog_data$species2_allGenes
symbols_bg = get.symbol.from.homologID(homoIDs_bg,"human","mouse",ortholog_data,"mouse")

NathanSkene/One2One documentation built on July 14, 2021, 7:48 a.m.