Learn R Programming

metaseqR (version 1.12.2)

check.contrast.format: 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.

Examples

Run this code
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)

Run the code above in your browser using DataLab