tr_tidy_gage: Coerce Gage output to a tidy data frame

View source: R/tr_tidy_gage.R

tr_tidy_gageR Documentation

Coerce Gage output to a tidy data frame

Description

This function will simply convert the output from Gage enrichment into an easier-to-use tibble format. At the same time it can also filter the result based on q value, with a default of 0.1.

Usage

tr_tidy_gage(gage_result, qval = 0.1)

Arguments

gage_result

A list output from a call to gage::gage

qval

Cutoff for q value, defaults to 0.1

Value

A data frame (tibble)

References

None.

See Also

https://www.github.com/travis-m-blimkie/tRavis

Examples

ex_gage_results <-
  readRDS(system.file("extdata", "ex_gage_results.rds", package = "tRavis"))

tr_tidy_gage(ex_gage_results, qval = 1)


travis-m-blimkie/tRavis documentation built on July 25, 2024, 9:07 p.m.