shake_gprofilerResult | R Documentation |
Convert the output of g:Profiler for straightforward use in GeneTonic()
shake_gprofilerResult(gprofiler_output_file, gprofiler_output = NULL)
gprofiler_output_file |
The location of the text file output, as exported from g:Profiler |
gprofiler_output |
A data.frame with the output of |
A data.frame
compatible for use in GeneTonic()
as res_enrich
Other shakers:
shake_davidResult()
,
shake_enrichResult()
,
shake_enrichrResult()
,
shake_fgseaResult()
,
shake_gsenrichResult()
,
shake_topGOtableResult()
# degenes <- (mosdef::deresult_to_df(res_macrophage_IFNg_vs_naive, FDR = 0.01)$SYMBOL)
# if called directly withÃn R...
# enrichr_output_macrophage <- enrichr(degenes, dbs)
# or alternatively, if downloaded from the website in tabular format
gprofiler_output_file <- system.file(
"extdata",
"gProfiler_hsapiens_5-25-2020_tblexport_IFNg_vs_naive.csv",
package = "GeneTonic"
)
res_from_gprofiler <- shake_gprofilerResult(gprofiler_output_file = gprofiler_output_file)
data(gostres_macrophage, package = "GeneTonic")
res_from_gprofiler_2 <- shake_gprofilerResult(
gprofiler_output = gostres_macrophage$result
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.