getEvidence: Get the Evidence codes for a set of GO terms.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/GOhelpers.R

Description

For each mapping of a gene to a GO term there are a set of evidence codes that are used. Genes can be mapped using one, or more evidence codes and this function obtains the evidence codes for all genes provided in the input list.

Usage

1
getEvidence(inlist)

Arguments

inlist

A list of GO identifers.

Value

A list of the same length as the input list, each element is a vector of evidence codes.

Author(s)

R. Gentleman

See Also

getOntology, dropECode

Examples

1
2
3
 library("hgu95av2.db")
 bb <- hgu95av2GO[["39613_at"]]
 getEvidence(bb)

Example output

Loading required package: AnnotationDbi
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colMeans, colSums, colnames,
    dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
    rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: IRanges
Loading required package: S4Vectors

Attaching package: 'S4Vectors'

The following object is masked from 'package:base':

    expand.grid

Loading required package: XML
Loading required package: org.Hs.eg.db


GO:0006486 GO:0006491 GO:1904381 GO:0000139 GO:0000139 GO:0005783 GO:0005793 
     "IEA"      "IBA"      "TAS"      "IBA"      "TAS"      "TAS"      "IDA" 
GO:0005794 GO:0005829 GO:0016020 GO:0016021 GO:0070062 GO:0004571 GO:0004571 
     "IDA"      "IDA"      "IDA"      "IEA"      "IDA"      "IBA"      "TAS" 
GO:0005509 GO:0015923 
     "IEA"      "TAS" 

annotate documentation built on Nov. 8, 2020, 8:14 p.m.