Use affinity propagation to cluster similar gene sets to reduce redundancy in report.
     
    
    Usage
    affinityPropagation(idsInSet, score)
 
    
    Arguments
- idsInSet
- A list of set names and their member IDs. 
- score
- A vector of addible scores with the same length used to assign input preference;
higher score has larger weight, i.e. -logP. 
 
    
    Value
    A list of clusters and representatives for each cluster.
- clusters
- A list of character vectors of set IDs in each cluster. 
- representatives
- A character vector of representatives for each cluster. 
 
    
    Author
    Zhiao Shi, Yuxing Liao