Enrichment analysis of the selected proteins
artmsEnrichLog2fc( dataset, species, background, heatmaps = FALSE, output_name = "enrichment.txt", verbose = TRUE )
dataset | (data.frame) with a |
---|---|
species | (char) Specie, only supported "human" or "mouse" |
background | (vector) Background genes for the enrichment analysis. |
heatmaps | (logical) if |
output_name | (char) Name of the annotation files, which will be used
as well for the heatmaps (if |
verbose | (logical) |
(data.frame) Results from the enrichment analysis using Gprofiler and heatmaps (if selected)
if (FALSE) { # The data must be annotated (Protein and Gene columns) data_annotated <- artmsAnnotationUniprot( x = artms_data_ph_msstats_results, columnid = "Protein", species = "human") # And then the enrichment enrich_set <- artmsEnrichLog2fc( dataset = data_annotated, species = "human", background = unique(data_annotated$Gene)) }