data(gCMAPData)
## induce CMAPCollection from z-scores
sets <- induceCMAPCollection(gCMAPData, "z", lower=-3, higher=3)
## Broad CMAP KS scoring: one z-score column
connectivity_score(gCMAPData[,1], sets, element="z")
## multiple z-score columns, results are returned as a list
connectivity_score(gCMAPData, sets)
Run the code above in your browser using DataLab