plMod: plMod

View source: R/tests.R

plModR Documentation

plMod

Description

Fits linear models between a signal and set variables. This is a flexible but slow implementations, we recommend ebayes for a faster one.

Usage

plMod(signature, sets, var = "sites", correctForLength = NULL)

modsites(x, sets, correctForLength = TRUE, ...)

modscore(x, sets, ...)

Arguments

signature

A named numeric vector

sets

A data.frame with at least the following columns: 'set', 'feature', and the variable specified by 'var'.

var

The independent variable to use, either 'sites' or 'score'.

correctForLength

Logical; whether to correct for length (i.e. total sites). Defaults to TRUE if ‘var=’sites'', FALSE otherwise.

Value

a data.frame


ETHZ-INS/enrichMiR documentation built on July 20, 2024, 12:03 a.m.