check_input | R Documentation |
Check if input data.frame columns match one of the four allowed formats.
check_input(df)
df |
data.frame containing proteomic data. |
list of two lists: check and allowed. check: list of logical vairables indicating if input match an allowed format. allowed: a list of all allowed formats.
An item in the approved format list can appear more than once.
## Not run: tabl1 = data.frame(gene = letters,rep1=runif(26), rep2=rnorm(26)) check_input(tabl1) tabl2 = data.frame(gene = letters,rep1=runif(26), rep2=rnorm(26), somethingelse=1:26) check_input(tabl2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.