is_singleton {BioNERO} | R 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)

[Package BioNERO version 1.0.4 Index]