go_enrich {TOmicsVis} | R Documentation |
GO enrichment analysis based on GO annotation results (None/Exist Reference Genome).
Description
GO enrichment analysis based on GO annotation results (None/Exist Reference Genome).
Usage
go_enrich(
go_anno,
degs_list,
padjust_method = "fdr",
pvalue_cutoff = 0.05,
qvalue_cutoff = 0.05
)
Arguments
go_anno |
Dataframe: GO and KEGG annotation of background genes (1st-col: Genes, 2nd-col: biological_process, 3rd-col: cellular_component, 4th-col: molecular_function, 5th-col: kegg_pathway). |
degs_list |
Dataframe: degs list. |
padjust_method |
Character: P-value adjust to Q-value. Default: "fdr" (false discovery rate), options: "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none". |
pvalue_cutoff |
Numeric: P-value cutoff. Recommend: small than 0.05. |
qvalue_cutoff |
Numeric: Q-value cutoff. Recommend: small than 0.05. |
Value
Table: include columns ("ID", "ontology", "Description", "GeneRatio", "BgRatio", "pvalue", "p.adjust", "qvalue", "geneID", "Count").
Author(s)
benben-miao
Examples
# 1. Library TOmicsVis package
library(TOmicsVis)
# 2. Use example dataset
data(gene_go_kegg)
head(gene_go_kegg)
# 3. Default parameters
res <- go_enrich(gene_go_kegg[,-5], gene_go_kegg[100:200,1])
head(res)
# 4. Set padjust_method = "BH"
res <- go_enrich(gene_go_kegg[,-5], gene_go_kegg[100:200,1], padjust_method = "BH")
head(res)
# 5. Set pvalue_cutoff = 0.10
res <- go_enrich(gene_go_kegg[,-5], gene_go_kegg[100:200,1], pvalue_cutoff = 0.10)
head(res)
[Package TOmicsVis version 2.0.0 Index]