Skip to content

04_TranscriptionFactor_activity_with_Dorothea issue with run_viper #46

@manas-kohli

Description

@manas-kohli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions