Description Usage Arguments Details Value Examples
View source: R/conv_ids_full.R
This function returns a dataframe with translated IDs and NA row for the not anootated genes.
1 2 3 4 5 6 7 | conv_ids_full(
input,
db_cluster_profiler,
from_cluster_profiler,
mart,
from_mart
)
|
input |
vector of IDs |
db_cluster_profiler |
annotation clusterProfiler database |
from_cluster_profiler |
input clusterProfiler ID type: ENSEMBL, ENTREZID, SYMBOL |
mart |
annotation mart |
from_mart |
input maRt ID type: ensembl_gene_id, external_gene_name, entrezgene_id |
This function takes a vector of IDs and translated them from the input format to the output format using the selected orgDB. The IDs not found by OrgDB are further annotated by maRt. If the ID was not found it will be at the end of the output dataframe with NAs. This function works only with the IDs: ENSEMBL ID, SYMBOL, ENTREZID In case the orgDB is not installed before launching the function, the function will exit with error.
dataframe with the ENSEMBL ID, SYMBOL, ENTREZID, GENENAME(description); NAs are not dropped
1 2 3 4 | conv_ids_full(rownames(dataNorm_df), "org.Mmu.eg.db", "ENSEMBL",
"mmulatta_gene_ensembl", "ensembl_gene_id")
conv_ids_full(c("IFNA13", "SLC2A3", "CD45RA", "CDY2A", "IGHM", "IGKC"), "org.Mmu.eg.db",
"SYMBOL", "mmulatta_gene_ensembl", "external_gene_name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.