rba_mieaa_convert_version {rbioapi}R Documentation

Convert miRNA accession Between Different miRBase Versions

Description

miEAA works with miRBASE v22 accession. Using This function you can convert a set of mature or precursor miRNA accession between two given miRBase versions.

Usage

rba_mieaa_convert_version(
  mirna,
  mirna_type,
  input_version,
  output_version,
  simple_output = FALSE,
  ...
)

Arguments

mirna

A vector of miRNA accessions to be converted.

mirna_type

Type of your supplied miRNA accession. either "mature" or "precursor".

input_version

(numeric) miRBase version of your supplied miRNA accessions.

output_version

(numeric) To what version should your miRNA accessions be converted?

simple_output

(logical) If FALSE (default), the result will be a two-columned data frame with your input and output accessions. Otherwise, if TRUE, only the output miRNA accessions will be returned.

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

Depending on the arguments, a data frame or a character vectors containing the miRNA accessions in your output version.

Corresponding API Resources

"POST https://ccb-compute2.cs.uni-saarland.de/mieaa2/api/v1/mirbase_converter/"

References

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_type(), rba_mieaa_enrich(), rba_mieaa_enrich_results(), rba_mieaa_enrich_status(), rba_mieaa_enrich_submit()

Examples


Sys.sleep(1) # to prevent 429 error during R CMD check
rba_mieaa_convert_version(mirna = c("hsa-miR-20b-5p", "hsa-miR-144-5p"),
    mirna_type = "mature", input_version = 22, output_version =  16)



[Package rbioapi version 0.8.1 Index]