designPairs: Produce design matrix of pairwise comparisons

View source: R/differential_functions.R

designPairsR Documentation

Produce design matrix of pairwise comparisons

Description

This function takes in the levels of a factor phenotype and outputs a design matrix of all pairwise comparisons.

Usage

designPairs(levels)

Arguments

levels

Character vector of the levels of a factor phenotype

Value

A model matrix


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.