oma_pairwise_translated | R Documentation |
The Orthologous Matrix (OMA), a resource of orthologous relationships
between genes, doesn't provide gene symbols, the identifier preferred in
many bioinformatics pipelines. Hence this function wraps
oma_pairwise
by translating the identifiers used in OMA to
gene symbols. Items that can not be translated to 'id_type' (but present
in the data with their internal OMA IDs) will be removed. Then,
in this function we translate the identifiers to the desired ID type.
oma_pairwise_translated(
organism_a = "human",
organism_b = "mouse",
id_type = "uniprot",
oma_id_type = "uniprot_entry",
mappings = c("1:1", "1:m", "n:1", "n:m"),
only_ids = TRUE
)
organism_a |
Name or identifier of an organism. |
organism_b |
Name or identifier of another organism. |
id_type |
The gene or protein identifier to use in the table. For a list of supported ID types see 'omnipathr.env$id_types$oma'. These are the identifiers that will be translated to gene symbols. |
oma_id_type |
Character: the gene or protein identifier to be queried from OMA. These IDs will be translated to 'id_type'. |
mappings |
Character vector: control ambiguous mappings:
|
only_ids |
Logical: include only the two identifier columns, not the mapping type and the orthology group columns. |
A data frame with orthologous gene pairs.
oma_pairwise_translated("human", "mouse")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.