hasColDataColumns {PDATK} | R Documentation

## Check for Column Names in the colData Slot of a SummarizedExperiment

### Description

Check for Column Names in the colData Slot of a SummarizedExperiment

### Usage

    hasColDataColumns(SE, values)

### Arguments

`SE` | A `SummarizedExperiment` object to check for the existence of colData columns.
`values` | A `character` vector with one or more column name to check for in the column data.

### Value

`logical` True if all of values are column names in the `SummarizedExperiment` object, FALSE otherwise.

### Examples

    SE <- SummarizedExperiment(matrix(rnorm(100), 10, 10),
        colData=data.frame(test=rep(1, 10)))
    hasColDataColumns(SE, 'test')

[Package PDATK version 1.2.0 Index]