check_IDs: Check compatibility between gene IDs and an organism

View source: R/fct_geneIDs.R

check_IDsR Documentation

Check compatibility between gene IDs and an organism

Description

Check compatibility between gene IDs and an organism

Usage

check_IDs(ids, organism)

Arguments

ids

character vector of gene identifiers to be tested

organism

organism, should be betwwen "Arabidopsis thaliana", "Homo sapiens", "Mus musculus", "Caenorhabditis elegans", "Escherichia coli", "Drosophilia melanogaster", "Lupinus albus"

Value

boolean, TRUE if all of the gene IDs match the expected regex for the specified organism.

Examples

data("abiotic_stresses")
check_IDs(rownames(abiotic_stresses$raw_counts),
organism = "Arabidopsis thaliana")
check_IDs(rownames(abiotic_stresses$raw_counts),
organism = "Homo sapiens")

OceaneCsn/DIANE documentation built on Jan. 10, 2024, 6:43 p.m.