matchingSpliceVariant: Assuming 'gene.ids' holds gene identifiers that lack splice...

View source: R/ortholog_funks.R

matchingSpliceVariantR Documentation

Assuming 'gene.ids' holds gene identifiers that lack splice variant suffixes like '.1' but refer to genes contained in this packages coding sequences (data) this function aims to identify the matching splice variants.

Description

Assuming 'gene.ids' holds gene identifiers that lack splice variant suffixes like '.1' but refer to genes contained in this packages coding sequences (data) this function aims to identify the matching splice variants.

Usage

matchingSpliceVariant(gene.ids,
  genes = as.character(unlist(spec.gene.ids)))

Arguments

'gene.ids'

character vector of gene identifiers to be matched to coding sequence identifiers held in this packages data.

'genes'

character vector of gene identifiers with splice variant suffixes to be matched against the argument gene identifiers.

Value

Character vector of the original gene identifiers or the matching splice variants if the original argument identifiers were not found in 'genes'. NA wherever the argument in 'gene.ids' was not found in 'genes' and could also not be matched to an entry of 'genes'.


asishallab/GeneFamilies documentation built on July 28, 2024, 11:44 a.m.