ProjectYulab
ProjectYulab copied to clipboard
`subset_category()` function
We use the showCategory parameter to specify which terms are used in the plot and the source codes used to do the subsetting are similar in several functions in the enrichplot package. We should define a function to perform the subsetting operation, and internally use the clusterProfiler::filter() verb.