Convert the output of DAVID for straightforward use in GeneTonic()

shake_davidResult(david_output_file)

Arguments

david_output_file

The location of the text file output, as exported from DAVID

Value

A data.frame compatible for use in GeneTonic() as res_enrich

Examples

david_output_file <- system.file("extdata",
  "david_output_chart_BPonly_ifng_vs_naive.txt",
  package = "GeneTonic"
)
res_enrich <- shake_davidResult(david_output_file)
#> Found 237 gene sets in the file output from DAVID of which 170 are significant (p-value <= 0.05).
#> Converting for usage in GeneTonic...