checkColnames: Check whether 'test_names' are columns in the 'data.frame'

Description Usage Arguments Value Source

View source: R/cmapR_subset.R

Description

Check whether test_names are columns in the data.frame

Usage

1
checkColnames(test_names, df, throw_error = TRUE)

Arguments

test_names

a vector of column names to test

df

the data.frame to test against

throw_error

boolean indicating whether to throw an error if any test_names are not found in df

Value

boolean indicating whether or not all test_names are columns of df

Source

https://github.com/cmap/cmapR


cTRAP documentation built on Nov. 8, 2020, 10:58 p.m.