is_singleton: Logical expression to check if gene or gene set is singleton...

View source: R/evolutionary_analysis.R

is_singletonR Documentation

Logical expression to check if gene or gene set is singleton or not

Description

Logical expression to check if gene or gene set is singleton or not

Usage

is_singleton(genes, og)

Arguments

genes

Character containing gene or group of genes to be evaluated.

og

Data frame of 3 columns corresponding to orthogroup, species ID, and gene ID, respectively.

Value

Vector of logical values indicating if gene or group of genes is singleton or not.

Author(s)

Fabricio Almeida-Silva

See Also

is_duplicated

Examples

data(og.zma.osa)
data(filt.se)
genes <- tail(rownames(filt.se), n = 100)
is_singleton(genes, og.zma.osa)

almeidasilvaf/BioNERO documentation built on Oct. 9, 2024, 1:49 a.m.