#feature is the feature matrix
# pamx is the result of the PAM function
# and pamx$clustering gives the list assigning each element to a certain cluster
#all_pathways<-Enrichment_Proteins(features,4,pamx$clustering)
Run the code above in your browser using DataLab