append_to_column: Append a string to a column

Description Usage Arguments Note

View source: R/append_to_column.R

Description

Appends a dynamic string to a column condition on whether the another column 'significant' is true or false.

Usage

1
append_to_column(data, sig_text = "(enriched)", insig_text = "(not enriched)")

Arguments

data

a data or overlay data.frame with dataset as column.

sig_text

what should be the significance text?

insig_text

what should be the insignificance text?

Note

In order to correctly draw plotly points the identifier (dataset) must have a unique colors associated with it. This function appends the dataset column with a significance text.


frhl/genoppi-v4 documentation built on May 5, 2020, 7:16 a.m.