geo_create_diagnosis: geo_create_diagnosis

View source: R/geo_create_diagnosis.R

geo_create_diagnosisR Documentation

geo_create_diagnosis

Description

Helper function to transform the target variable into a binary numeric diagnosis variable.

Usage

geo_create_diagnosis(vector, controlname, targetname)

Arguments

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).


miracum/clearly-sigident.preproc documentation built on June 28, 2022, 3:17 p.m.