This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Decorrelated Composite of Multiple Signals in R

Hello,

I have carried out four methods of Selection signals and want to do Decorrelated composite of multiple signals (DCMS). After running the command

DCMS(dfv, column.nums=1:ncol(dfv), subset=1:nrow(dfv), S=NULL, dfp, column.nums.p=1:ncol(dfp))

I am facing an error that reads,

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

Would like to know how to rectify this error. I have 4 columns and 116451 rows in both dfv and dfp.

dcms

Hi Nandhini, Have you been able to address this errors? It looks like the same error happened to me, and I've already tried everything to get the program to run.

Do not add an answer unless you're actually answering the top level question. Use Add Comment or Add Reply as appropriate instead. I've moved your post to a comment this time but please be more careful in the future.

Hi Azwan, I am still facing the same issue. Yet to find a solution.

For me I managed to work around this issue by using an older version of R, but recently I had to reformat my computer and even after using an old version of R the same error is still persistent. I was just wondering if any of you managed to figure out a solution by now and what did you do?

0 answers

No answers yet.

Log in to answer this question.