Description Usage Arguments Details Value Note References See Also Examples
Translation between human gene identifiers. For input keys with
multiple valid matches, only first match is returned (warning is
issued). If no id.in
is provided, function will make an informed
guess.
1 2 3 4 5 6 7 8 |
key |
a character vector, gene identifiers to be translated. |
id.in |
a character, |
id.out |
a character, |
verbose |
logical, whether console information are to returned. |
rough |
logical, whether to search for more than one match. If FALSE, provides less informative warnings. |
all |
logical, whether to include all possible matches.
|
Gene identifiers are from the org.Hs.eg.db
package while
biotype were retrieved from biomaRt
using
useMart(biomart = "ensembl", dataset = "hsapiens_gene_ensembl"
.
A character vector of same length as key with gene identifiers as specified.
Warnings are issued for keys with none or more than one hit. For keys with more than one possible match, only first match is returned (thus rough).
Marc Carlson (). org.Hs.eg.db: Genome wide annotation for Human. R package version 3.2.3.
Steffen Durinck et al. (2009) Mapping identifiers for the integration of genomic datasets with the R/Bioconductor package. Nature Protocols 4, 1184-1191.
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(Biobase)
fromTo(rownames(crcTCGAsubset)[1:50], "entrez", "symbol")
# colnames indicate valid keys
# example: AKT3 symbol has one valid Entrez mapping but two different ENSG
anno.orgHs[anno.orgHs$symbol == "AKT3",]
fromTo("AKT3", "symbol", "ensg") # expect one
fromTo("AKT3", "symbol", "entrez") # expect one
fromTo("AKT3", "symbol", "ensg", rough=FALSE) # expect one
fromTo("AKT3", "symbol", "ensg", all = TRUE) # expect two
# number of ids with multiple mappings
sum(table(anno.orgHs$symbol) > 1)
sum(table(anno.orgHs$entrez) > 1)
sum(table(anno.orgHs$ensg) > 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.