BI_ensemblGo: Annotate the ENSG id with GO terms via ensembl online

Description Usage Arguments Author(s) Examples

Description

ensemblGo annotate the ENSEMBL ID with GO terms via ensembl online

Usage

1
2
3
4
  ensemblGo(genes,
            parallel = F,
            save.file = F,
            names = "love")

Arguments

genes

a character vector of ENSG id

parallel

whether use parallel strategy to accelerate the process

save.file

whether save the data

names

part of saved file name

Author(s)

Weibin Huang<654751191@qq.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## test genes
test <- common.annot$ENSEMBL;genes <- test[1:50]

## Not use parallel
system.time(
  a <- ensemblGo(genes)
)
# User  System  time (50 tests)
# 0.56  0.15    36.20


## Use parallel
system.time(
  a <- ensemblGo(genes,parallel = T)
)
# User  System  time (50 tests)
# 0.09  0.01    14.19

## Get available Go annotation
a2 <- a[a$Accession != "NotAvailable",]

shijianasdf/BasicBioinformaticsAnalysisFromZhongShan documentation built on Jan. 3, 2020, 10:08 p.m.