Description Usage Arguments Value Examples
View source: R/outlier_analysis_functions.R
Utility function that will take in columns with several subcategories, and output several columns each with binary classifications. ex) col1: A,B,C >> colA: A,notA,notA; colB: notB,B,notB; colC: notC,notC,C
1 | make_comparison_columns(intable)
|
intable |
table where each column has more than one subcategory, can be multiple columns |
an expanded table with each of the columns as a binary labeling of each subcategory.
1 2 3 | data("sample_annotationdata")
new_comparisons <- make_comparison_columns(
sample_annotationdata[,1,drop=FALSE])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.