Description Usage Arguments Details Value References Examples
This function implements logistic regression adjusting for number of probes in enrichment analysis.
1 2 3 4 |
cpg.pval |
A named vector containing p-values of differential methylation test. Names should be CpG IDs. |
array.type |
A string. Either "450K" or "EPIC". Default is "450K". This argument will be ignored if FullAnnot is provided. |
FullAnnot |
A data frame provided by prepareAnnot function. Default is NULL. |
group |
A string. "all", "body", "promoter1" or "promoter2". Default is "all". If group = "body", only CpGs on gene body will be considered in methylglm. If group = "promoter1" or group = "promoter2", only CpGs on promoters will be considered. Here is the definition of "body", "promoter1" and "promoter2" according to the annotation in IlluminaHumanMethylation450kanno.ilmn12.hg19 or IlluminaHumanMethylationEPICanno.ilm10b4.hg19.
If group = "all", all CpGs are considered regardless of their gene group. |
GS.list |
A list. Default is NULL. If there is no input list, Gene Ontology is used. Entry names are gene sets names, and elements correpond to genes that gene sets contain. |
GS.idtype |
A string. "SYMBOL", "ENSEMBL", "ENTREZID" or "REFSEQ". Default is "SYMBOL" |
GS.type |
A string. "GO", "KEGG", or "Reactome". Default is "GO" |
minsize |
An integer. If the number of genes in a gene set is less than this integer, this gene set is not tested. Default is 100. |
maxsize |
An integer. If the number of genes in a gene set is greater than this integer, this gene set is not tested. Default is 500. |
parallel |
either TRUE or FALSE indicating whether parallel should be used. Default is FALSE |
BPPARAM |
an argument provided to |
The implementation of this function is modified from goglm function in GOglm package.
A data frame contains gene set tests results.
Mi G, Di Y, Emerson S, Cumbie JS and Chang JH (2012) Length bias correction in Gene Ontology enrichment analysis using logistic regression. PLOS ONE, 7(10): e46128
Phipson, B., Maksimovic, J., and Oshlack, A. (2015). missMethyl: an R package for analysing methylation data from Illuminas HumanMethylation450 platform. Bioinformatics, btv560.
Carlson M (2017). org.Hs.eg.db: Genome wide annotation for Human. R package version 3.5.0.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.