懒人工具:在线GO,KEGG,同源基因查找
使用在线工具 https://biit.cs.ut.ee/gprofiler/gost 支持自定义背景数据集,支持多物种,来源于Ensembl。支持python脚本。支持R语言。 支持的物种名称和版本查询地址 包含支持的富集的种类 R语言里分析方法:
install.packages("gprofiler2")
library(gprofiler2)
#富集分析
gostres <- gost(query = c("X:1000:1000000", "rs17396340", "GO:0005005", "ENSG00000156103", "NLRP1"),
organism = "hsapiens")
# The result is a named list where “result” is a data.frame with the enrichment analysis results
# and “meta” containing a named list with all the metadata for the query.
head(gostres$result)
p <- gostplot(gostres, capped = FALSE, interactive = FALSE)
p #做出富集分析的plot图
#查找同源基因
gorth(query = c("Klf4", "Sox2", "71950"), source_organism = "mmusculus",
target_organism = "hsapiens", numeric_ns = "ENTREZGENE_ACC")