Skip to contents

Performs a within-level analysis using limma to generate top tables and fit objects based on the specified spline parameters. Performs the limma spline analysis for a selected level of a factor

Usage

process_within_level(
  data,
  rna_seq_data,
  meta,
  design,
  spline_params,
  level_index,
  padjust_method
)

Arguments

data

A matrix of data values.

rna_seq_data

An object containing the preprocessed RNA-seq data, such as the output from `limma::voom` or a similar preprocessing pipeline.

meta

A dataframe containing metadata, including a 'Time' column.

design

A design formula or matrix for the limma analysis.

spline_params

A list of spline parameters for the analysis.

level_index

The index of the level within the factor.

padjust_method

A character string specifying the p-adjustment method.

Value

A list containing the top table and the fit object from the limma analysis.

See also