DMP_limma | R Documentation |
This function first uses the 'lmfit' function from the 'limma' package with methylset and the generated design matrix as its inputs. Next it uses the 'contrast.fit' function from the 'limma' package with the 'lmfit' output and the generated contrast matrix as its inputs. The contrast matrix specifies the comparison of interest (e.g.: Patients vs Controls). To compute a moderated t-statistic of differential expression, it uses empirical Bayes moderation of the standard error.
DMP_limma(
set,
Patient_info,
cat_vars = NULL,
cont_vars = NULL,
Group = NULL,
confint = TRUE
)
set |
Preprocessed methylation set, can be genomic methyl set or genomic ratio set. |
Patient_info |
Data frame with adjustment variables. |
cat_vars |
The variable names in Patient_info that are categorical variables |
cont_vars |
The variable names in Patient_info that are continuous variables |
Group |
The variable in Patient_info that represents which observations belong to which groups |
confint |
To enable confidence interval for the logFC, set to TRUE or change to CI range. |
A list with limma output variables and temporary results
DMPresult - Data table with statistics per CpG sites
model - eBayes fitted linear model
design - Design matrix
contMatrix - Contrast matrix
Sign_CpG - CpG names of DMPs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.