1

I've got an error message when trying to do a upstream TF analysis using DoRothEA and Viper. Any suggestion would be helpful, thanks.

data(dorothea_mm, package = "dorothea")

regulons <- dorothea_mm %>%
  dplyr::filter(confidence %in% c("A", "B", "C"))

tf_activities_stat <- run_viper(resLFC_tb, regulons,
                         options =  list(minsize = 4,   
                         eset.filter = FALSE, cores = 1, verbose = FALSE, nes = TRUE))

Error message: Error in regulon[[i]] : subscript out of bounds
Matt
  • 7,255
  • 2
  • 12
  • 34
JeanneJ
  • 11
  • 1
  • I think the regulon object has to be converted to the object of class "regulon" `regulons <- dorothea::df2regulon(regulons)` but it still doesn't work :( the author/maintainer doesn't host it on a github, so no way to have a quick & transparent feedback :( – Emile Zäkiev Feb 17 '23 at 08:54

0 Answers0