mixedcirc_adjust: Perform p-value adjustment on mixedcirc_fit_list

View source: R/mixedcirc_adjust.R

mixedcirc_adjustR Documentation

Perform p-value adjustment on mixedcirc_fit_list

Description

This functions performs p-value adjustment on mixedcirc_fit_list

Usage

mixedcirc_adjust(
  input,
  method = "BH",
  pattern = "p_value",
  verbose = FALSE,
  ...
)

Arguments

input

An object of mixedcirc_fit_list. It has to contain more than one variable.

method

A vector of character strings containing the names of the multiple testing procedures for which adjusted p-values are to be computed. This vector should include any of the following: "holm","hochberg","hommel","bonferroni", "BH", "BY","fdr" "none".

pattern

Columns of results with this pattern will be selected for doing adjustment. Default: p_value.

verbose

Show information about different stages of the processes. Default FALSE.

...

additional arguments passed to mt.rawp2adjp from multtest package.

Details

The p-values from the matching columns will be adjusted one column at the time using the selected method.

Value

A class of mixedcirc_fit_list in which the adjusted p-values have been added in the results

Examples

data("circa_data")

results <- mixedcirc_detect(data_input = circa_data$data_matrix,
time = circa_data$time,
group = circa_data$group,
id = circa_data$id,
period = 24,
verbose = TRUE)
results <- mixedcirc_adjust(results, method = "bonferroni")


PayamEmami/mixedcirc documentation built on Jan. 15, 2025, 5:36 p.m.