## S3 method for class 'MiRNANameConverter':
checkMiRNAName(this, miRNAs, correct = TRUE,
verbose = FALSE)
Arguments
this
Object of class 'MiRNANameConverter'
miRNAs
A character vector of miRNA names
correct
A boolean indicating if formatted miRNA names shall be
returned (e.g. HSA-MIR-1 -> hsa-miR-1)
verbose
A boolean to either show more (TRUE) or less
information (FALSE)
Value
A character vector containing a set of valid miRNA names
Methods (by class)
MiRNANameConverter: Method for checking for valid miRNA names
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.
nc = MiRNANameConverter() # Instance of class 'MiRNANameConverter'# Test with correct inputscheckMiRNAName(nc, miRNAs = c("hsa-miR-29a", "hsa-miR-642"))