annFUN.uniprot: topGo compatible annotation function

Description Usage Arguments Examples

Description

topGo compatible annotation function

Usage

1
annFUN.uniprot(whichOnto, feasibleGenes, mapping)

Arguments

whichOnto

- which ontology to use i.e. "BP", "CC"

feasibleGenes

feasible Genes

mapping

id go term mappings

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(topGoUniProt)
tmp <-uniprotTable2ProteinGOTable(mapping=getMouseData(), ontology="CC")
dim(tmp)
head(tmp)

protID <- unique(tmp[1:10,1])
t1 <- annFUN.uniprot("BP",protID, getMouseData(0) )
length(t1)
t1<-annFUN.uniprot("CC",protID, getMouseData(0) )
length(t1)
names(t1)

wolski/topGOUniProt documentation built on May 4, 2019, 9:47 a.m.