# # - env,回声= FALSE ---------------------------------------------------------- suppressPackageStartupMessages(库(“BiocStyle”))suppressPackageStartupMessages(库(“org.Hs.eg.db”)(“GO.db suppressPackageStartupMessages(图书馆 ")) ## ---- 安装,eval = FALSE ---------------------------------------------------- # ## 安装BiocManager只有一个# install.packages (BiocManager) # # # hpar # BiocManager:安装:安装(“hpar ") ## ---- 负载 --------------------------------------------------------------------- 图书馆(“hpar ") ## ---- hpaData ------------------------------------------------------------------ 数据(hpaNormalTissue)暗(hpaNormalTissue)名称(hpaNormalTissue) # #的基因长度(独特(hpaNormalTissue基因美元))# #的细胞数量##组织长度(unique(hpaNormalTissue$Cell.type)) head(levels(hpaNormalTissue$Cell.type)) ## ----getHpa------------------------------------------------------------------- id <- "ENSG00000000003" head(getHpa(id, hpadata = "hpaNormalTissue")) getHpa(id, hpadata = " hpasubcellarloc ") head(getHpa(id, hpadata = "rnaGeneCellLine")) ## ----getHpa2,eval = FALSE ------------------------------------------------------ # getHpa (id、type = "细节 ") ## ---- 选择 --------------------------------------------------------------------- getHparOptions () setHparOptions (hpadata =“hpaSubcellularLoc”)getHparOptions () getHpa (id) # #——rel ---------------------------------------------------------------------- getHpaEnsembl getHpaDate getHpaVersion () () () ## ---- uc-hpar ------------------------------------------------------------------ id < - ENSG00000001460 getHpa (id、“hpaSubcellularLoc ") ## ---- uc-db -------------------------------------------------------------------- 库(org.Hs.eg.db)图书馆(“GO.db”)答< -选择(org.Hs.eg.db、键= id列= c(“运用”、“走”、“本体论”),keytype =“运用”)< -岁(ans本体美元= =“CC”)和酸式焦磷酸钠(as.list (GOTERM [ans美元去]),位置,”术语 ") ## ---- sessioninfo,回声= FALSE ------------------------------------------------ sessionInfo ()