convDfBeIds | R Documentation |
Add BE ID conversion to a data frame
convDfBeIds(df, idCol = NULL, entity = FALSE, ...)
df |
the data.frame to be converted |
idCol |
the column in which ID to convert are. If NULL (default) the row names are taken. |
entity |
if TRUE returns BE instead of BEID (default: FALSE). BE CAREFUL, THIS INTERNAL ID IS NOT STABLE AND CANNOT BE USED AS A REFERENCE. This internal identifier is useful to avoid biases related to identifier redundancy. See ../doc/BED.html#3_managing_identifiers |
... |
params for the convBeIds function |
A data.frame with converted IDs.
Scope ("be", "source", "organism" and "entity" (see Arguments))
is provided as a named list
in the "scope" attributes: attr(x, "scope")
.
convBeIds, convBeIdLists
## Not run: toConv <- data.frame(a=1:2, b=3:4) rownames(toConv) <- c("10", "100") convDfBeIds( df=toConv, from="Gene", from.source="EntrezGene", from.org="human", to.source="Ens_gene" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.