calc_pvalues_network {multiDEGGs} | R Documentation |
Calculate the p values for specific category network samples
Description
Calculate the p values for specific category network samples
Usage
calc_pvalues_network(
assayData,
metadata,
padj_method,
categories_length,
regression_method = "lm",
category_network
)
Arguments
assayData |
a matrix or data.frame (or list of matrices or data.frames for multi-omic analysis) containing normalised assay data. Sample IDs must be in columns and probe IDs (genes, proteins...) in rows. For multi omic analysis, it is highly recommended to use a named list of data. If unnamed, sequential names (assayData1, assayData2, etc.) will be assigned to identify each matrix or data.frame. |
metadata |
a named vector, matrix, or data.frame containing sample
annotations or categories. If matrix or data.frame, each row should
correspond to a sample, with columns representing different sample
characteristics (e.g., treatment group, condition, time point). The colname
of the sample characteristic to be used for differential analysis must be
specified in |
padj_method |
a character string indicating the p values correction
method for multiple test adjustment. It can be either one of the methods
provided by the |
categories_length |
integer number indicating the number of categories |
regression_method |
whether to use robust linear modelling to calculate link p values. Options are 'lm' (default) or 'rlm'. The lm implementation is faster and lighter. |
category_network |
network table for a specific category |
Value
a list of p values