check_input: Check input data format

Description Usage Arguments Value Note Examples

View source: R/check_input.R

Description

Check if input data columns match one of the four allowed formats.

Usage

1

Arguments

tabl

a data.frame

Value

list of boolean vairables indicating if input match a format and allowed formats

Note

An item in the approved format list can appear more than once

Examples

1
2
3
4
5
6
## Not run: 
tabl1 = data.frame(gene = letters,rep1=runif(26), rep2=rnorm(26))
tabl2 = data.frame(gene = letters,rep1=runif(26), rep2=rnorm(26), somethingelse=1:26)
check_input(tabl1)

## End(Not run)

frhl/genoppi-v4 documentation built on May 5, 2020, 7:16 a.m.