If you want to test for differential enrichment within your usersets, you can restrict the universe to only regions that are covered in at least one of your sets. This function helps you build just such a restricted universe
buildRestrictedUniverse(userSets)
userSets | The userSets you will pass to the enrichment calculation. |
---|
A restricted universe
data("sample_input", package="LOLA") # load userSets restrictedUniverse = buildRestrictedUniverse(userSets)