convert_ids: Change gene IDs to the format expected by gsva using an...

View source: R/gsva.R

convert_idsR Documentation

Change gene IDs to the format expected by gsva using an orgdb.

Description

Though it is possible to use gsva without ENTREZ IDs, it is not trivial. This function attempts to ensure that the IDs in one's expressionset are therefore entrez IDs. It is possible that this function is at least partially redundant with other functions in this package and should be replaced.

Usage

convert_ids(ids, from = "ENSEMBL", to = "ENTREZID", orgdb = "org.Hs.eg.db")

Arguments

ids

Vector of IDS to modify.

from

Change from this format.

to

Change to this format.

orgdb

Using this orgdb instance.

Value

New vector of ENTREZ IDs.

See Also

[AnnotationDbi]


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.