mymakeContrasts: A copy of limma::makeContrasts() with special sauce.

View source: R/de_shared.R

mymakeContrastsR Documentation

A copy of limma::makeContrasts() with special sauce.

Description

This is a copy of limma::makeContrasts without the test of make.names() Because I want to be able to use it with interaction models potentially and if a model has first:second, make.names() turns the ':' to a '.' and then the equivalence test fails, causing makeContrasts() to error spuriously (I think).

Usage

mymakeContrasts(..., contrasts = NULL, levels)

Arguments

...

Conditions used to make the contrasts.

contrasts

Actual contrast names.

levels

contrast levels used.

Value

Same contrasts as used in makeContrasts, but with unique names.

See Also

[limma::makeContrasts()]


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.