Skip to contents

Processes clustering for a specific level within a condition using the provided top table and spline parameters.

Usage

process_level_cluster(
  top_table,
  cluster_size,
  level,
  meta,
  condition,
  spline_params,
  mode
)

Arguments

top_table

A dataframe containing the top table results from limma.

cluster_size

The size of clusters to generate.

level

The level within the condition to process.

meta

A dataframe containing metadata.

condition

A character string specifying the condition.

spline_params

A list of spline parameters for the analysis.

mode

A character string specifying the mode ('isolated' or 'integrated').

Value

A list containing the clustering results, including curve values and the design matrix.