ebayes: ebayes

View source: R/tests.R

ebayesR Documentation

ebayes

Description

A wrapper around lmFit and eBayes for fitting the feature scores of many sets against a signal.

Usage

ebayes(signal, sets, use.intercept = FALSE)

Arguments

signal

A named numeric vector indicating the signal (e.g. logFC) of each feature.

sets

A data.frame of annotation, with at least the following columns: 'set', 'feature' and 'score'. Alternatively, a sparse numeric matrix, with sets as columns and features as rows (dimensions must be named).

use.intercept

Logical; whether to use an intercept in the model.

Value

A data.frame.


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