Get top pathways from enrichment analysis results

get_top_pathway(
  df,
  ntop = 10,
  source_set = c("GO:MF", "GO:CC", "GO:BP", "KEGG", "HPA")
)

Arguments

df

a data frame

ntop

a positive integer, how many top terms for each source are returned

source_set

a string vector, specify the sources.

Value

return a dataframe object including the top pathways.