Pattern replacement with multiple patterns
character vector of patterns
character vector of replacements
character vector with input data to be curated
logical indicating whether to perform
pattern matching in case-insensitive manner, where
ignore.case=TRUE will ignore the uppercase/lowercase
distinction.
additional arguments are passed to base::gsub()
or base::sub().
logical vector indicating whether to perform
global substitution, where replace_multiple=FALSE will
only replace the first occurrence of the pattern, using
base::sub(). Note that this vector can refer to individual
entries in pattern.
This function is a simple wrapper around base::gsub()
when considering a series of pattern-replacement
combinations. It applies each pattern match and replacement
in order and is therefore not vectorized.
Other jam utility functions:
avg_angles(),
avg_colors_by_list(),
call_fn_ellipsis_deprecated(),
cell_fun_bivariate(),
collapse_mem_clusters(),
colorRamp2D(),
deconcat_df2(),
display_colorRamp2D(),
enrichList2geneHitList(),
filter_mem_genes(),
filter_mem_sets(),
find_colname(),
get_igraph_layout(),
handle_igraph_param_list(),
isColorBlank(),
make_legend_bivariate(),
make_point_hull(),
mem_find_overlap(),
order_colors(),
rank_mem_clusters(),
rotate_coordinates(),
subgraph_jam(),
subset_mem(),
summarize_node_spacing(),
xyAngle()