convert: Convert miRNA symbols from a miRBase version to another

Description Usage Arguments Value Examples

Description

This function convert the miRNAs in the input file from the "source" miRBase version to the "Target" version. If users do not know the miRBase version of the input file, please set the source version to 0. The function will match the miRNAs in the input file to all miRBase versions to find the most likely miRBase version. Currently, we have versions 16-21.

Usage

1
convert(miRNAListFile, sourceV, targetV)

Arguments

miRNAListFile

the input file containing a list of miRNA symbols in csv format

sourceV

the miRBase version of the input miRNAs, e.g. 16. If users do not know the version, use 0.

targetV

the miRBase version that we want to convert into, e.g. 21.

Value

A csv file in the working directory containing the converted miRNA symbols.

Examples

1
2
miRs=system.file("extdata", "ToymiRs.csv", package="miRLAB")
convert(miRs, 17, 21) 

miRLAB documentation built on Nov. 8, 2020, 5:45 p.m.