gene_from_gene | R Documentation |
Get the target_id
of a gene using other gene identifiers.
The identifiers found under the obj$gene_column
are often
difficult to remember (e.g. ensembl gene ID, ENSG00000111640).
This function allows a user to find that difficult-to-remember
identifier using more-easily-remembered identifiers, such as
gene symbol (e.g. "GAPDH").
gene_from_gene(obj, gene_colname, gene_name)
obj |
a |
gene_colname |
the name of the column containing 'gene_name'.
This parameter refers to the name of the column that the gene you are searching for appears in.
Check the column names using |
gene_name |
a string containing the name of the gene you are interested in. |
a character vector containing the target_id
of the gene, found under
obj$gene_column
within obj$target_mapping
.
If the column name provided is the same as obj$gene_column
, and the
gene_name used is found, that gene_name will be returned.
## Not run: gene_from_gene(obj, "gene_symbol", "GAPDH")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.