remove_empty_strings: Remove empty strings from character vector.

View source: R/getdata.R

remove_empty_stringsR Documentation

Remove empty strings from character vector.

Description

The WHERE clauses for target and mirna use allow for multiple arguments always separated by 'OR' and several columns are checked for each value (mirna id, acc; target symbol, entrez, ensemble). If empty strings "" are present in the get_multimir arguments, Targets and miRNA with empty values in one of these columns will be incorrectly returned. – thus purge empty strings first.

Usage

remove_empty_strings(x)

Arguments

x

A character vector

Value

A character vector with empty strings removed


KechrisLab/multiMiR documentation built on Feb. 12, 2023, 8:26 p.m.