Resolve canonical hsa-miR-* names to MIMAT accession IDs
Source:R/mimat_hsa_lookup.R
resolve_hsa_to_mimat.RdResolve canonical hsa-miR-* names to MIMAT accession IDs
Value
Character vector (same length as names) of MIMAT accession
IDs. Entries not found in the lookup table are returned as
NA_character_.
Details
Matching is case-insensitive on input; the returned value is always in
canonical case (MIMAT IDs uppercase, e.g. MIMAT0000062; hsa-miR
names lowercase, e.g. hsa-let-7a-5p). Unknown inputs return
NA_character_.
Examples
resolve_hsa_to_mimat(c("hsa-let-7a-5p", "hsa-not-real"))
#> [1] "MIMAT0000062" NA
# [1] "MIMAT0000062" NA