You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' This generic function processes a SummarizedExperiment object to handle confounders
4918
-
#' that are not of interest in the analysis. It dynamically handles combinations
4919
-
#' of provided factors, adjusting the data by nesting and summarizing over these factors.
4917
+
#' This function identifies and resolves complete confounders among specified factors of non-interest within a `SummarizedExperiment` object.
4918
+
#' Complete confounders occur when the levels of one factor are entirely predictable based on the levels of another factor.
4919
+
#' Such relationships can interfere with downstream analyses by introducing redundancy or collinearity.
4920
4920
#'
4921
+
#' The function systematically examines pairs of specified factors and determines whether they are completely confounded.
4922
+
#' If a pair of factors is found to be confounded, one of the factors is adjusted or removed to resolve the issue.
4923
+
#' The adjusted `SummarizedExperiment` object is returned, preserving all assays and metadata except the resolved factors.
4921
4924
#'
4922
-
#' @param se A SummarizedExperiment object that contains the data to be processed.
4923
-
#' @param ... Arbitrary number of factor variables represented as symbols or quosures
4924
-
#' to be considered for resolving confounders. These factors are processed
4925
-
#' in combinations of two.
4925
+
#' @param se A `SummarizedExperiment` object. This object contains assay data, row data (e.g., gene annotations), and column data (e.g., sample annotations).
4926
+
#' @param ... Factors of non-interest (column names from `colData(se)`) to examine for complete confounders.
0 commit comments