rba_mieaa_convert_type {rbioapi}R Documentation

Convert Between Mature and precursor miRNA Accession

Description

miRBase miRNA accession could refer to either mature or precursor miRNAs. (see: A uniform system for microRNA annotation). Use this function to mature miRNA accession to corresponding miRNA accessions or vice versa.

Usage

rba_mieaa_convert_type(
  mirna,
  input_type,
  only_unique = FALSE,
  simple_output = FALSE,
  ...
)

Arguments

mirna

A vector of miRNA accessions to be converted.

input_type

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

only_unique

(logical) miRBase precursor and mature miRNA accessions are not uniquely mapped. (i.e. you may get more than one results for a given accession). set this to TRUE to only retrieve the unique mappings. (default = FALSE)

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/mirna_precursor_converter/"

References

See Also

Other "miEAA": rba_mieaa_cats(), rba_mieaa_convert_version(), 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_type(mirna = c("hsa-miR-20b-5p", "hsa-miR-144-5p"),
    input_type = "mature")



[Package rbioapi version 0.8.1 Index]