CheckTemplate: Check the input template

View source: R/check_template.R

CheckTemplateR Documentation

Check the input template

Description

CheckTemplate function check the template inputted from users to ensure they are acceptable to downstream functions.

Usage

CheckTemplate(template)

Arguments

template

a data frame. It is the input data from users for analysis

Details

Function CheckTemplate checks the template file inputted by users. If the template contains problems, an error will raise and a message will given to user for checking their files.

Value

Non

Author(s)

Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi

Examples

data <- read.csv(system.file("template.csv", package = "TidyComb"),
                 stringsAsFactors = FALSE)
CheckTemplate(data)

# Check some messy to data
# data_m <- data[, -2]
# CheckTemplate(data_m)


DrugComb/TidyComb documentation built on June 22, 2022, 2:49 a.m.