numberAnnotations: Counts the number of times an annotation, e.g. a Pfam or...

View source: R/enrichment_funks.R

numberAnnotationsR Documentation

Counts the number of times an annotation, e.g. a Pfam or InterPro entry, is annotated in argument annotation table 'anno.tbl'.

Description

Counts the number of times an annotation, e.g. a Pfam or InterPro entry, is annotated in argument annotation table 'anno.tbl'.

Usage

numberAnnotations(anno, anno.tbl)

Arguments

anno

string contained in column 2 of 'anno.tbl'

anno.tbl

a data.frame of two columns, column 1 holds gene identifiers and column 2 annotations, e.g. InterPro or Pfam entries.

Value

integer - the number of genes 'anno' has been found annotated to.


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.