-
Notifications
You must be signed in to change notification settings - Fork 28
Description
I'm trying to use the function run_viper to calculate transcription factor activity based on an earlier differential expression analysis I ran but running the following line:
tf_activities_stat <-
dorothea::run_viper(ttopKOvsWT_matrix, regulons,
options = list(minsize = 4, eset.filter = FALSE,
cores = 1, verbose = TRUE, method = c("scale")))
returns a vector of NA values. I also get the following error message:
Warning message:
In FUN(newX[, i], ...) : no non-missing arguments to max; returning -Inf
I then tried to follow the example provided in the documentation but even with your data I run into the same error. I did preprocess the differential expression matrix to keep only the t values and gene names as row names as you guys had performed in your example in the vignette. run_viper also works fine on a matrix of vst transformed counts but I can't seem to get it to work only on the differential expression results. I'm wondering if anyone else has the same issue and can reproduce the error since I seem to be getting it on the example data as well.
Edit: It seems to not be able to run on a single sample either which I'm assuming leads to a similar problem since the ttop matrix from limma passed to this function only has 1 column