# \donttest{
# example1: input list with fake id and one-to-many mapping id
x <- genInfo(id = c(
"MCM10", "CDC20", "S100A9", "MMP1", "BCC7",
"FAKEID", "TP53", "HBD", "NUDT10"
))
# example2: statistics of human gene biotypes
genInfo(org = "hs") %>%
{
table(.$gene_biotype)
}
# example3: use hg19 data
x <- genInfo(id = c("TP53","BCC7"), hgVersion = "v19")
# example4: search genes with case-insensitive
x <- genInfo(id = c("tp53","nc886","FAke","EZh2"), org = "hs", unique = TRUE)
# }
Run the code above in your browser using DataLab