genome_to_organism: Get the correct organism code based on genome

Description Usage Arguments Value

View source: R/utils.R

Description

Data from chipenrich.data uses three letter organism codes for the GeneSet objects. This function ensures the correct objects are loaded.

Usage

1

Arguments

genome

One of the supported_genomes().

Value

A string for the three letter organism code. Convention is first letter of the first word in the binomial name, and first two letters of the second word in the binomial name. 'Homo sapiens' is then 'hsa', for example.


chipenrich documentation built on Nov. 8, 2020, 8:11 p.m.