correct.metadata: Check and correct types of metadata table

Description Usage Arguments Value

View source: R/utils_metadata_manip.R

Description

TBD

Usage

1
correct.metadata(df.meta, meta.sub = NULL, exceptions = NULL, analysis = NULL)

Arguments

df.meta

a tibble of the metadata with 'SampleID' column

meta.sub

default NULL or a character vector containing a subset of variables

exceptions

default NULL or a character vector containing variables with more than 5 factor levels that should not be typecast as a character

analysis

default NULL or a string triggering specific actions (e.g. 'metacardis')

Value

a tibble with 'meta.sub' columns and all variable types updated


sxmorgan/ansimo documentation built on June 26, 2020, 7:59 p.m.