pfam2go: Add GO terms based on pfam accessions

Description Usage Arguments Value Source See Also Examples

View source: R/pfam2go.R

Description

The objective of gene ontology (GO) is to provide controlled vocabularies for the description of the biological process, molecular function, and cellular component of gene products. This function maps existing PFAM accessions to corresponding GO terms.

Usage

1
pfam2go(data_pfam, pfam)

Arguments

data_pfam

a data frame containing a column with PFAM accessions

pfam

a string defining the column name where the PFAM accessions are stored. Defaults to "acc" as per output of get_hmm function.

Value

A merged data frame with columns as provided in data_pfam argument and additional columns:

Pfam_acc

Character, PFAM family accession.

Pfam_name

Character, PFAM family name.

GO_name

Character, GO term name.

GO_acc

Character, GO term accession.

Source

http://geneontology.org/external2go/pfam2go

ftp://ftp.geneontology.org/pub/go/external2go/pfam2go

See Also

get_hmm

Examples

1
2
3
4
5
6
7
8
library(ragp)
data(at_nsp)

pfam_pred <- get_hmm(sequence = at_nsp$sequence[1],
                     id = at_nsp$Transcript.id[1])

pfam_pred_go <- pfam2go(data_pfam = pfam_pred, pfam = "acc")
pfam_pred_go

missuse/ragp documentation built on Jan. 4, 2022, 10:49 a.m.