Description Usage Arguments Value Author(s) Examples
View source: R/miRBaseConvert.R
This function returns the miRNA sequences for a list of miRNAs.
1 | getMiRNASequence(Accessions, targetVersion = "v21")
|
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: |
A nx2 data frame. The number of row equals to input miRNAs. The two columns are defined as below:
Accession : The original miRNA (Column 1).
miRNASequence_{targetVersion} : The return miRNA sequence (in specified version) corresponding to the input miRNAs (Column 2).
Xu, Taosheng taosheng.x@gmail.com
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="v21")
#####2, The input are miRNA Names
data(miRNATest)
miRNANames=miRNATest$miRNA_Name
result3=miRNAVersionConvert(miRNANames,targetVersion="v21",exact=TRUE)
Accessions=result3[,3]
result4=getMiRNASequence(Accessions,targetVersion="v21")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.