checkMiRNAName: Check miRNA names for validity

Description Usage Arguments Details Value Methods (by class) Author(s) Examples

Description

This function checks for a given set of mature 'miRNAs' (names) Check miRNA names for validity

This function checks for a given set of mature 'miRNAs' (names) if the names are listed in any miRBase version respectively.

Usage

1
2
3
4
checkMiRNAName(this, miRNAs, verbose = FALSE)

## S4 method for signature 'MiRNANameConverter'
checkMiRNAName(this, miRNAs, verbose = FALSE)

Arguments

this

Object of class 'MiRNANameConverter'

miRNAs

A character vector of miRNA names

verbose

A boolean to either show more (TRUE) or less information (FALSE)

Details

This function takes the input miRNA names and checks each one of them for validity. The check is done by taking each miRNA and searches for an existing entry in the miRBase database among all versions. miRNAs that are listed in any version will be comprised in the return vector respectively. If no valid miRNA was detected, a character(0) will be returned.

Value

A character vector containing a set of valid miRNA names

Methods (by class)

Author(s)

Stefan Haunsberger

Examples

1
2
3
nc = MiRNANameConverter() # Instance of class 'MiRNANameConverter'
# Test with correct inputs
checkMiRNAName(nc, miRNAs = c("hsa-miR-29a", "hsa-miR-642"))

miRNAmeConverter documentation built on Nov. 8, 2020, 5:36 p.m.