designPairs {microbiomeExplorer}R 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


[Package microbiomeExplorer version 1.2.0 Index]