R/table.format.check.R

Defines functions table.format.check

table.format.check <- function(results.table, gene.label){
  if (!(is.data.frame(results.table))) stop('Entered results table is not a data frame', call. = F)
  if (!( gene.label %in% colnames(results.table))) stop(paste(gene.label,
                                                              " column not present in table, check gene.label argument" ,call. = F))
}
ShawnBrad/PathfindeR documentation built on March 28, 2020, 4:32 a.m.