Skip to content

DCMS and stat_to_pvalue subsetting issue #19

Description

@Wetermolen

I was using the stat_to_pvalue and DCMS functions of MINOTAUR and an error came up that hadn’t existed previously when I ran the program back in august. If I try to use a dataframe with more than one column I get this error repeatedly:

dfp_left<-stat_to_pvalue(dfv, column.nums = 1:ncol(dfv), subset = 1:nrow(dfv),
two.tailed = rep(FALSE, length(column.nums)), right.tailed = rep(FALSE,
length(column.nums)))

Error in if (class(try(df.vars[subset, ], silent = TRUE)) == "try-error") stop("subset must contain valid indexes for choosing rows in dfv") :
the condition has length > 1

it works fine when I run only one column but I need to use multiple columns in DCMS, appreciate the help.

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