check.contrast.format: Contrast validator

Description Usage Arguments Author(s) Examples

Description

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

Usage

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

Arguments

cnt

contrasts vector.

sample.list

the input sample list.

Author(s)

Panagiotis Moulos

Examples

1
2
3
4
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)

pmoulos/metaseqR-local documentation built on May 9, 2019, 1:13 a.m.