Description Usage Arguments Value Examples
View source: R/findOrthologs.R
mapIDs(): Map moleculer identifiers in a data.table using ENSEMBL BioMart - getBM
1 2 3 | mapIDs(DT, ids2convert_col = "target", filters = "hgnc_symbol",
map_to = "entrezgene", map_to_name = "target_entrezgene",
biomart_dataset = "hsapiens_gene_ensembl")
|
DT |
data.table containing id to be converted |
ids2convert_col |
column in |
filters |
Filters (one, in ids2convert_col column) that should be used in the query. A possible list of filters can be retrieved using the function listFilters. |
map_to |
Attributes you want to retrieve. A possible list of attributes can be retrieved using the function listAttributes. |
map_to_name |
how to name the column in the output containing |
biomart_dataset |
which BioMart dataset to use for mapping. Full list of possible options: listDatasets("ensembl") |
mapIDs(): data.table DT
containing an additional column (map_to_name
)
1 2 3 4 | # load TF regulon data
combined_file = "../regulatory_networks_by_cmap/data/validation_TF_regulons/all_simp_regulons_w_pos_effect.tsv"
regulons = fread(combined_file, header = T, stringsAsFactors = F)
regulons = mapIDs(regulons)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.