extract_mir_string: Extract miRNA names from string

Description Usage Arguments Details Value See Also

Description

Extract miRNA names from a string.

Usage

1
extract_mir_string(string, threshold = 1, extract_letters = FALSE)

Arguments

string

String. String to search for miRNA names.

threshold

Integer. Specifies how often a miRNA must be mentioned in string to be extracted.

extract_letters

Boolean. If extract_letters = FALSE, only the miRNA stem is extracted (e.g. miR-23). If extract_letters = TRUE, the miRNA stem with trailing letter (e.g. miR-23a) is extracted.

Details

Extract miRNA names from a string. miRNA names can either be extracted with their stem only, e.g. miR-23, or with their trailing letter, e.g. miR-23a. Furthermore, miRNA names are adapted to the most recent miRBase version (e.g. miR-97, miR-102, miR-180(a/b) become miR-30a, miR-29a, and miR-172(a/b), respectively).

Value

Character vector containing miRNA names, if miRNA names are present in the string. If no miRNA names are present in the string, a message is returned saying "No miRNA found.".

See Also

extract_mir_df()

Other extract functions: extract_mir_df(), extract_snp()


JulFriedrich/miRetrieve documentation built on Sept. 20, 2021, 11:37 p.m.