Pfam2GOBP: Annotations of Pfam domains by Gene Ontology Biological...

Description Usage Value References See Also Examples

Description

An object of class "Anno" that contains associations between Gene Ontology Biological Process terms and Pfam domains. This data is prepared based on the Pfam database (see http://pfam.xfam.org) and ftp://ftp.geneontology.org/pub/go/external2go/pfam2go.

Usage

1

Value

an object of class Anno. It has slots for "annoData", "termData" and "domainData":

References

Finn et al. (2014) The Pfam protein families database. Nucleic Acids Res, 42(Database issue):D222-D230.

See Also

Anno-class

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# load data
data(Pfam2GOBP)
Pfam2GOBP
# retrieve info on ontology terms
termData(Pfam2GOBP)
# retrieve info on Pfam domains
domainData(Pfam2GOBP)
# retrieve the first 5 rows and columns of annotation data
x <- annoData(Pfam2GOBP)[1:5,1:5]
x
# convert the above retrieval to the full matrix
as.matrix(x)

Example output

Loading required package: Matrix
Loading required package: igraph

Attaching package:igraphThe following objects are masked frompackage:stats:

    decompose, spectrum

The following object is masked frompackage:base:

    union

Loading required package: dnet
Loading required package: supraHex
Loading required package: hexbin

Attaching package:dcGORThe following object is masked frompackage:base:

    write

An object of S4 class 'Anno'
@annoData: 3241 domains, 1005 terms 
@termData (InfoDataFrame)
  termNames: GO:0008152 GO:0040007 GO:0048511 ... GO:0019281 GO:0032862
    (1005 total)
  tvarLabels: ID Name Namespace Distance
@domainData (InfoDataFrame)
  domainNames: PF00001 PF00002 PF00003 ... PF15550 PF15556 (3241 total)
  dvarLabels: id level description
An object of S4 class 'InfoDataFrame'
  rowNames: GO:0008152 GO:0040007 GO:0048511 ... GO:0019281 GO:0032862
    (1005 total)
  colNames: ID Name Namespace Distance
An object of S4 class 'InfoDataFrame'
  rowNames: PF00001 PF00002 PF00003 ... PF15550 PF15556 (3241 total)
  colNames: id level description
5 x 5 sparse Matrix of class "dgCMatrix"
        GO:0006635 GO:0030639 GO:0030682 GO:0016255 GO:0006650
PF00001          .          .          .          .          .
PF00002          .          .          .          .          .
PF00003          .          .          .          .          .
PF00015          .          .          .          .          .
PF00026          .          .          .          .          .
        GO:0006635 GO:0030639 GO:0030682 GO:0016255 GO:0006650
PF00001          0          0          0          0          0
PF00002          0          0          0          0          0
PF00003          0          0          0          0          0
PF00015          0          0          0          0          0
PF00026          0          0          0          0          0

dcGOR documentation built on May 2, 2019, 3:34 p.m.

Related to Pfam2GOBP in dcGOR...