This function converts DoRothEA's regulons that are stored in a table to the
format required by the viper
function.
df2regulon(df)
A regulon table from dorothea package.
Regulons in the viper
format.
# acessing (human) dorothea regulons
# for mouse regulons: data(dorothea_mm, package = "dorothea")
data(dorothea_hs, package = "dorothea")
# convert to the format required by viper
viper_regulons = df2regulon(dorothea_hs)