buildVersion: Build a vector of miRBase id conversions to the chosen...

Description Usage Arguments Value Author(s) See Also Examples

Description

This package contains a pre-built data matrix containing miRBase IDs form different miRBase versions. Such matrix is called mirIDmat. This function helps converting the mirIDmat matrix into a vector that can afterwords be used to convert miRBase IDs to any desired version.

Usage

1
  buildVersion(version, idmat = mirIDmat, verbose = TRUE)

Arguments

version

the miRBase version to be the output of conversion.

idmat

conversion matrix. See details.

verbose

run verbose mode.

Value

A character vector of conversion ids. The names of the vector are the keys to be converted. The values of the vector are the conversion values into the desired miRBase version.

Author(s)

David Montaner <dmontaner@cipf.es>

See Also

mirIDmat id2mir19 id2mirLast

Examples

1
2
3
4
5
6
7
8
##Builds a conversion vector from any version of miRBase to version 19.
to19version <- buildVersion (19)

##checking
table (to19version == id2mir19)

##Build a conversion vector from miRBase version 12 to version 19.
from12to19 <- buildVersion (19, idmat = mirIDmat[,c ("mirBase12", "mirBase19")], verbose = FALSE)

dmontaner/mirbaseID documentation built on May 15, 2019, 9:36 a.m.