compositeAnnotations: Generates a list of composite Annotations found for the...

View source: R/family_funks.R

compositeAnnotationsR Documentation

Generates a list of composite Annotations found for the argument genes based on the argument gene (function) annotation data.frame. Composite annotations are sorted alphabetically and then concatonated with ',' as separator.

Description

Generates a list of composite Annotations found for the argument genes based on the argument gene (function) annotation data.frame. Composite annotations are sorted alphabetically and then concatonated with ',' as separator.

Usage

compositeAnnotations(gene.accs, gene.annos = all.ipr, gene.col = 1,
  anno.col = 2)

Arguments

gene.accs

The identifiers or accessions of the genes to compute the entropy for

gene.annos

The data.frame holding the annotations for the genes in 'gene.accs'. Default is all available InterPro annotations expected to be found in 'all.ipr'

gene.col

the column of 'gene.annos' in which to lookup the gene identifiers or gene accessions. Default is 1

anno.col

the column of 'gene.annos' in which to lookup the function annotation for the genes in 'gene.accs'. Default is 2

Value

An character vector with names being the gene identifiers 'gene.accs' and values the composite (function) annotations.


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