通过GO的全名描述获得GO ID

# load the GO library
library(GO.db)

# extract a named vector of all terms
goterms <- Term(GOTERM)

# work with it in R, or export it to a file
write.table(goterms, sep="\t", file="goterms.txt") # 全部信息保存为文件


REF
https://www.biostars.org/p/50564/
posted @ 2021-04-01 11:36  emanlee  阅读(548)  评论(0)    收藏  举报