hasColDataColumns {PDATK} | R Documentation |
Check for Column Names in the colData Slot of a SummarizedExperiment
hasColDataColumns(SE, values)
SE |
A |
values |
A |
logical
True if all of values are column names in the
SummarizedExperiment
object, FALSE otherwise.
SE <- SummarizedExperiment(matrix(rnorm(100), 10, 10), colData=data.frame(test=rep(1, 10))) hasColDataColumns(SE, 'test')