import_contrasts: Import a contrasts matrix from a tab-separated file

Description Usage Arguments Details

View source: R/import_model.R

Description

The '.tsv' file should contain two columns 'contrast_name' and 'contrast_definition'. Contrast definitions should be in string form, eg, "(group2 - group1)/2", where each word in the string should correspond to a column in the 'design' matrix.

Usage

1
import_contrasts(filepath, design)

Arguments

filepath

a tab-separated file that defines the contrasts for the current experiment.

design

a design matrix. All design coefficients that are used in defining contrasts should be column-names in this matrix.

Details

Comment lines may begin with "#" in the .tsv


russHyde/reeq documentation built on March 10, 2020, 5:36 a.m.