View source: R/general_utilities.R
operatable_columns | R Documentation |
Uses column classes and sample_key to determine what columns can be operated upon.
operatable_columns(
col_names = NULL,
my_dt,
acceptable_classes = NULL,
sample_key = "Run_ID"
)
col_names |
Vector of character strings to name the columns that will have this operation performed on them. |
my_dt |
data.table input |
acceptable_classes |
Character vector of classes that are acceptable to perform whatever operation. col_names not of this class will not be returned. |
sample_key |
Character string to specify the column that is the sample key. This column will not be operated upon. |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ operatable_columns ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.