check.contrast.format: Contrast validator

Description Usage Arguments Author(s) Examples

View source: R/metaseqr.argcheck.R

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)

metaseqR documentation built on Nov. 8, 2020, 5:57 p.m.