miRNA_NameToAccession: The miRBase miRNA names with specified version to Accessions

Description Usage Arguments Value Author(s) Examples

View source: R/miRBaseConvert.R

Description

This function converts a group of any species' miRNA name to the Accessions defined in miRBase.

Usage

1
miRNA_NameToAccession(miRNANames, version = "v22")

Arguments

miRNANames

A character vector representing the source miRNA names needed to be convert.

version

A character value representing the version corresponding the miRNANames. Users can apply the function getAllVersionInfo() to get the available miRNA version names. The optional values are in below:
"v6","v7_1","v8","v8_1","v8_2","v9","v9_1","v9_2","v10","v10_1","v11","v12","v13","v14",
"v15","v16","v17","v18","v19","v20","v21","v22"

Value

A nx2 data frame. The number of rows equal to the input miRNA names. The two columns are defined as below:

Author(s)

Xu, Taosheng taosheng.x@gmail.com

Examples

1
2
3
4
5
6
data(miRNATest)
miRNANames=miRNATest$miRNA_Name
version=checkMiRNAVersion(miRNANames,verbose=TRUE)
result1=miRNA_NameToAccession(miRNANames,version=version)
result2=miRNA_AccessionToName(result1[,2],targetVersion="v22")
result3=miRNAVersionConvert(miRNANames,targetVersion="v22",exact=TRUE)

miRBaseConverter documentation built on Nov. 8, 2020, 11:08 p.m.