This function converts DoRothEA's regulons that are stored in a table to the format required by the viper function.

df2regulon(df)

Arguments

df

A regulon table from dorothea package.

Value

Regulons in the viper format.

Examples

# 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)