check.contrast.format {metaseqR} | R Documentation

## Contrast validator

### Description

Checks if the contrast vector follows the specified format. Internal use only.

### Usage

        check.contrast.format(cnt, sample.list)

### Arguments

`cnt` | contrasts vector.
`sample.list` | the input sample list.

### Author(s)

Panagiotis Moulos

### Examples

    sample.list <- list(A=c("A1","A2"),B=c("B1","B2","B3"))
    cnt <- c("A_vs_B") # Will work
    #cnt <- c("A_vs_C") ## Will throw error!
    check.contrast.format(cnt,sample.list)

[Package metaseqR version 1.28.0 Index]