get_comparison_name | R Documentation |
Customize name of comparison / output folder depending on inclusion/exclusion criteria and presence of row annotation 2
get_comparison_name(
current,
filters,
delim = ";",
all_out_dirs = NULL,
rowAnn2 = NA
)
filters |
A string in the form of filters delimited by default ";". Each filter has 3 parts: 1) column name in df, 2) operator either != or ==, 3) value in column to exclude/include |
delim |
A string/character to seperate individuals filter by, default is ";" |
all_out_dirs |
A character vector of directory names, if the current_dir name exists, the algorithm will append "1", "2", and so on until the dir name is unique. |
rowAnn2 |
Name of row annotation 2 if applicable, otherwise NA. |
current_dir |
The name of the output directory |
subset_by_filters(df, "Smoker==Yes;Cancer.subtype!=NA") # positively select for smokers and remove NA from Cancer.subtype column
New name of output folder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.