getMiRNASequence: Get the miRNA sequences

Description Usage Arguments Value Author(s) Examples

View source: R/miRBaseConvert.R

Description

This function returns the miRNA sequences for a list of miRNAs.

Usage

1
getMiRNASequence(Accessions, targetVersion = "v22")

Arguments

Accessions

A character vector representing the miRNA Accessions in miRBase.

targetVersion

A character value representing the target miRBase version corresponding the Accessions. 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 row equals to input miRNAs. The two columns are defined as below:

Author(s)

Xu, Taosheng taosheng.x@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#####1, The input are miRNA Accessions
data(miRNATest)
Accessions=miRNATest$Accession
result1=getMiRNASequence(Accessions,targetVersion="v13")
result2=getMiRNASequence(Accessions,targetVersion="v22")

#####2, The input are miRNA Names
data(miRNATest)
miRNANames=miRNATest$miRNA_Name
result3=miRNAVersionConvert(miRNANames,targetVersion="v22",exact=TRUE)
Accessions=result3$Accession
result4=getMiRNASequence(Accessions,targetVersion="v22")

taoshengxu/miRBaseConverter documentation built on April 10, 2020, 7:04 p.m.