# load the sample output data
data(AlvMac_results.pVal)
# have an overview of the result variable
str(AlvMac_results.pVal)
# filter for Biological Processes associated with 5+ genes and <=0.05 P-value
filtered_results <- subset_scores(
result=AlvMac_results.pVal, total_count=5, p.val=0.05,
namespace="BP")
# have an overview of the filtered result variable
str(filtered_results)
Run the code above in your browser using DataLab