# load the sample output data with p.values computed
data(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")
# Venn diagram of overlapping genes between top 5 GO terms
overlap_GO(
go_ids=head(filtered_results$GO$go_id, n=5),
result=filtered_results, filename="VennDiagram.tiff")
Run the code above in your browser using DataLab