View source: R/geo_create_diagnosis.R
geo_create_diagnosis | R Documentation |
Helper function to transform the target variable into a binary numeric diagnosis variable.
geo_create_diagnosis(vector, controlname, targetname)
vector |
A vector of characters. The target variable, consisting of two levels, named 'controlname' and 'targetname'. |
controlname |
A character string. Name of the the controls, specified in the 'target' column of 'sample_metadata' (default: Control). |
targetname |
A character string. Name of the the targets, specified in the 'target' column of 'sample_metadata' (default: Target). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.