dge_CleanPathfinder: Clean up the output of dge_RunPathfinder to make nicer bubble...

View source: R/dge_CleanPathfinder.R

dge_CleanPathfinderR Documentation

Clean up the output of dge_RunPathfinder to make nicer bubble plots

Description

Small cleaning function to do things like wrap long pathway names, and filter on fold enrichment scores and gene counts to get rid of irrelevant pathways.

Usage

dge_CleanPathfinder(pathRes, wrap = 35, foldChange = 1, geneCount = 20)

Arguments

pathRes

Dataframe, output of dge_RunPathfinder().

wrap

Numeric, max number of characters in a pathway name before wrapping to a new line.

foldChange

Numeric, keep only pathways with a fold enrichment over this number.

geneCount

Numeric, keep only pathways with a gene count over this number.

Value

Dataframe with the above cleaning steps applied.


NKInstinct/seqHelpers documentation built on Aug. 20, 2022, 4:30 a.m.