Description Usage Arguments Details Value See Also
Uses biomart to convert from gene names to IDs and back.
1 2 3 4 5 6 7 8 9 10 11 12  | bm.id2name(
  filter.ids = NULL,
  config = biomartConfigs$hsapiens, 
  ds = bm.init.genes(config), 
  use.buffer = FALSE
)
bm.name2id(
  filter.names = NULL,
  config = biomartConfigs$hsapiens, 
  ds = bm.init.genes(config), 
  use.buffer = FALSE
)
 | 
filter.ids | 
 Either a vector containing IDs, or a data frame with an appropriate colum. The type of IDs should match the biomart config field gene$filter$id.  | 
filter.names | 
 Either a vector containing gene names, or a data frame with an appropriate colum. The type of namess should match the biomart config field gene$filter$name.  | 
config | 
 A list containing values that are needed for biomaRt connection and data retrieval. See   | 
ds | 
 Optionally, a biomart connection object for re-use scenarios to prevent connection overhead.  | 
use.buffer | 
 Uses the buffer variable   | 
The filter data should not contain NAs.
# all names are unique # only uses but does not set the buffer variable when use.buffer = TRUE # use.buffer causes a merge with buffer data on all common columns
Returns a data frame with an additional column that is named as the biomart config field for Ids (gene$attr$id) or names (gene$attr$name), respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.