speciesComposition: Infers the number of genes belonging to the given species.

View source: R/family_funks.R

speciesCompositionR Documentation

Infers the number of genes belonging to the given species.

Description

Infers the number of genes belonging to the given species.

Usage

speciesComposition(fam, spec.cds.ids = spec.gene.ids)

Arguments

'fam'

a character vector of gene identifiers representing the argument gene family.

'spec.cds.ids'

a named list of character vectors indicating which gene identifiers belong to which species. Default is set to constant 'spec.gene.ids' declared in R/zzz.R

Value

An integer vector with names equeal to the names of argument list 'spec.cds.ids' and values indicating how many gene members were found in the respective species.


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